by edward | Apr 15, 2019 | Exchange 2019 PowerShell, Exchange 2010 PowerShell, Exchange 2013 PowerShell, Exchange 2016 PowerShell
There are many ways in PowerShell to check the mailbox database copy status in Exchange, here are some examples from the Exchange Management Shell (EMS): Blanket check.Per DAG check.Per Server check. Get-MailboxDatabaseCopyStatus * The above command runs across all...
by edward | Apr 15, 2019 | Windows Server 2016 PowerShell, Window Server 2012 R2 PowerShell
Tip of the day: Need to find out about the integration services of virtual machines running a hyper-v host and filter by heartbeat, you can run this simple command: get-vm -computername Host1 | Get-VMIntegrationService -Name heartbeat* Hope it...
by edward | Apr 15, 2019 | Exchange 2016 PowerShell, Exchange 2010 PowerShell, Exchange 2013 PowerShell
In Exchange you will do loads of Export requests to PST but over time this list grows and when you eventually want to find an export request or remove a server you can’t because it still has the export requests. To find the export requests, you can run a single...
by edward | Apr 1, 2019 | Windows Server 2016 PowerShell, Window Server 2012 R2 PowerShell, Windows Server 2012 PowerShell, Windows Server 2019 PowerShell
RSS abbreviated for Receive Side Scaling has value by being enabled on a Server as it betters performance. By Default, RSS is enabled on Server 2016 and 2019 but cannot be enabled on Windows Server 2008 R2 or below. On Server 2012 or R2 you can enable it using a...
by edward | Apr 1, 2019 | Windows Server 2016 PowerShell, Window Server 2012 R2 PowerShell, Windows Server 2012 PowerShell, Windows Server 2019 PowerShell
In PowerShell, you are able to disable IPv6 on a Server using a single command as follows: reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0xFF /f Now you can take this a step further and also disable IPv6...
by edward | Mar 29, 2019 | Exchange 2016 PowerShell, Exchange 2010 PowerShell, Exchange 2013 PowerShell
In Exchange, you can throttle the number of connections that a HUB Transport Server can have open to a remote domain, the default value for the field “MaxPerDomainOutboundConnections” is 20. To change the value, you can run a simple command from the...
by edward | Mar 13, 2019 | Window Server 2012 R2 PowerShell
On a Hyper-V host, you can run a command to check the replica but you can format the data in multiple ways based on what you want to see. For example, you can run the following command below to view the replicas on a host: Get-VMReplication The command above pretty...
by edward | Mar 11, 2019 | Windows Server 2016 PowerShell, Window Server 2012 R2 PowerShell, Windows Server 2012 PowerShell, Windows Server 2019 PowerShell
As an Admin you can restrict access to PowerShell and what can run. With a simple command you can view the execution policy set on a server: Get-ExecutionPolicy As shown above, it is set to unrestricted on this server. To change it to restricted as an example you can...
by edward | Mar 7, 2019 | Exchange 2019 PowerShell, Exchange 2010 PowerShell, Exchange 2013 PowerShell, Exchange 2016 PowerShell
With mailbox moves, you do get the few that fail and instead of updating each one with the -BadItemLimit switch you can do this one liner command to update them all before resuming them, here is the command: Get-MoveRequest | Set-MoveRequest -BadItemLimit 500...
by edward | Feb 4, 2019 | Exchange 2010 PowerShell
As an Exchange admin, you will always come across mail stuck in a queue, there are so many reasons why this could happen but if you do need to export mail from a queue and not just simply delete it then you can do so running the following PowerShell command from the...