by Edward van Biljon | Apr 17, 2020 | Exchange 2016 PowerShell
In Exchange 2016, there are a couple of cmdlets you can run to check that you servers are in a healthy state. In 1x example, you could run the following command to check the Outlook Web Services: Test-OutlookWebServices If you want to specify a specific server then...
by Edward van Biljon | Apr 17, 2020 | Windows Server 2016 PowerShell
In one of my previous posts we installed PowerShell 7 on Windows 10. In my lab I installed PowerShell 7 on my Exchange 2016 Server. While there is no support for Exchange yet, Active Directory cmdlets work. To install the preview you can run the command below from an...
by Edward van Biljon | Mar 1, 2020 | PowerShell V7
I was playing around with PowerShell 6 and 7 RC which a colleague showed me was available. Firstly to get the new version, you need to run the following command below: (Note it includes the -Preview switch) iex “& { $(irm...
by Edward van Biljon | Mar 1, 2020 | Windows Server 2016 PowerShell, Window Server 2012 R2 PowerShell, Windows Server 2019 PowerShell
Recently we had a request to update a whole stack of servers registry keys. With PowerShell this is easy to do. In the first step you need to set the location of where you want to work. In this case it was HKLM:\SOFTWARE\Location – Location being where you want...
by Edward van Biljon | Feb 20, 2020 | Windows Server 2016 PowerShell, Window Server 2012 R2 PowerShell, Windows Server 2008 R2 PowerShell, Windows Server 2012 PowerShell, Windows Server 2019 PowerShell
In any operating system, you may want to uninstall or remove a device like a network card for example that may be causing issues. Launching Device Manager does not show the device and as an example you cannot rename you network card because it says the device already...
by Edward van Biljon | Jan 22, 2020 | Windows Server 2016 PowerShell, Window Server 2012 R2 PowerShell, Windows Server 2012 PowerShell
With PowerShell you can pretty much do anything. In this article we disabled Netbios using a registry key, however you can do the same using WMI and PowerShell as well as removing the tick box for Lmhosts on a Network Card. To do this, you can run the following set of...
by Edward van Biljon | Dec 29, 2019 | Windows Server 2016 PowerShell
Here is a quick tip on firstly how to check which domain controller the FSMO roles are situated on and secondly, moving the FSMO roles with one command. To determine which server/s are holding the the FSMO roles, you can run the command below: netdom query fsmo This...
by Edward van Biljon | Nov 16, 2019 | Exchange 2019 PowerShell, Exchange 2010 PowerShell, Exchange 2013 PowerShell, Exchange 2016 PowerShell
Quick tip for the day. Ever wanted to remove an alias from a Distribution Group and wondered how to do this with the Exchange Management Shell (EMS). It is pretty simple, you run the following command below: Set-distributiongroup GroupEmailAddress –EmailAddresses...
by edward | Nov 7, 2019 | Exchange 2019 PowerShell
As you would have noticed in not only Exchange 2019 but 2016 that when you type a certain command you will receive a nice yellow warning to use the new cmdlet instead. For example, I ran the following command: Get-TransportServer And as you can see below, the warning:...
by edward | Oct 29, 2019 | Exchange 2019 PowerShell
Quick Tip: If you want to create a room mailbox, you can do so with a simple command: New-Mailbox -Name MyRoom -DisplayName “My Room” -Room To Validate your setup, you can run the following command: Get-Mailbox myroom | fl Name,RecipientTypeDetails There...