Category: PowerShell 101

Disable The Firewall On A Windows Nano Server Using PowerShell

In this article, I’ll show you how to disable the Windows Firewall on A Windows Nano Server 2016. Below, you will see two methods to do it one using Netsh and the second using Set-NetFirewallProfile (PowerShell) you can use either of them. To disable the firewall connect to your Nano Server using PowerShelland run the line below […]

Read More »

How To Change Windows Nano Server 2016 DNS Server IP Address

In this article, I’ll show you how to modify \ Change the existing DNS Server IP address on a Windows Nano Server 2016. To complete this operation, You will need to connect to the Server with an admin account and use Remote PowerShell. To get started, I’ve connected to my Nano Server using PowerShell Remote. Once […]

Read More »

Join Windows Server 2016 Nano Server To A Domain

To join the Nano Server to my Active Directory domain I’ll use offline Domain Join utility (Djoin.exe). To complete this you will need to run the Djoin command from a domain controller or from a member server joined to the domain. To start the process run the command line below from the command prompt tool: […]

Read More »

How To Connect To A Windows Nano Server Using PowerShell

In this article, I’ll show you how I connect to my Windows Server 2016 using PowerShell Remoting. To get started, I Open a Windows PowerShell console. Note:If your Nano Server Is not part of your domain type the line below, do add it to the Trusted Hosts list on your machine. Set-Item WSMan:\localhost\Client\TrustedHosts -Value 192.68.0.21 -Concatenate Next, I […]

Read More »

How To Export \ Import Single Mailbox Folder To PST File Exchange Server 2010 / 2013 /2016

This article will show you how to export a single folder from an entire mailbox to a PST file on Exchange Server 2010, 2013 and 2016. To start the process open EMS and type the command below (change mailbox and source folder path). New-MailboxExportRequest -mailbox adminu -SourceRootFolder “Inbox/folder” -filepath \\exchange\C$\Source\adminu.pst You can import it to another mailbox by running […]

Read More »

PowerShell Code: Get Mailboxes with Size Greater Than X

Today, I’ll show you another classic PowerShell Code for Exchange Server that will let you search for users with a mailbox size of X and above. I came across the need to do this when I had to rebalance mailboxes on Exchange Server and wanted to know which users have mailboxes over 5GB. The code […]

Read More »

Add a computer to an Active Directory domain with PowerShell

A common task many system administrators do is adding computers to an Active Directory domain. Since Active Directory is embedded in so many organizations, nearly every IT professional is probably familiar with the box below. Active Directory domain join This PowerShell snippet above connects remotely to the computer NAMEHERE, attempts to join it to the […]

Read More »

Deploying a Windows Server 2016 read-only domain controller (RODC) with PowerShell

An RODC is a domain controller (DC) that holds a read-only copy of the Active Directory database and the SYSVOL folder. It supports unidirectional replication and only pulls data from its replication partner when the data changes on writable domain controllers. Enterprises can deploy RODCs in branch offices where they cannot guarantee physical security. RODC […]

Read More »

Automating WSUS with PowerShell

The scripts explained in this post allow you to automate several Windows Server Update Services (WSUS) tasks such as synchronization, approvals, cleanups, and scheduled update installations. Syncing WSUS with PowerShell and Task Scheduler ^ In this article, I assume you are familiar with WSUS administration. Right after installing WSUS, you have to configure periodic synchronization. Unfortunately, […]

Read More »

FashionBuzz © 2015 | All Rights Reserved Theme by Flythemes