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 type the line below to […]

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   Example: ( New-MailboxExportRequest -mailbox “Matt Heitman” –FilePath \\ltivw-p-mbx03\pst$\mheitman2.pst )    You can import it to another mailbox […]

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 below. Will show you all […]

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 domain domain.here and then afterward […]

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 characteristics ^ The following characteristics differentiate […]

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, as you can see in […]

Read more

Exchange Powershell – Find Mailbox size of users in a Distribution List

Say that I have a Distribution List called “Finance Team“. At first I will have to find out the members of the Distribution List so then I can individually find their mailbox sizes. $GroupName = Read-Host “Kindly provide the name of the Distribution Group” Get-DistributionGroupMember $GroupName | Select Name | Export-Csv c:\Members.csv -NoTypeInformation Let us see what did we do […]

Read more
1 2 3 4 5 6 10