ALL       EXCHANGE      POWERSHELL      OFFICE 365

Fixing the Pipeline

Some comments to support Module 3 of course M10961 # The following command will not work as Get-ADComputer returns ADComputer ...

Creating PowerShell Custom Objects

Whilst rarely needed when running PowerShell commands in the console, creating custom objects can be a useful technique when writing ...

Datacenter Switchover – Updating DNS

As part of a Datacenter switchover, the DNS record of the CAS array in the failed site should be updated ...

Updating Email addresses programmatically

Recently I was asked the question: 'Can you remove a mailbox from email address policies to stop the reply address ...

Using a Hash Table to format data

When you use Format-Table you can choose which columns you wish to view. Get-WMIObject Win32_LogicalDisk -Filter "DriveType=3" | Format-Table DeviceID, ...

Open File Dialog Box

Often when working with PowerShell you will want to specify a file to read data from it.  Whilst the file ...

Creating you own GUI Application

PowerShell is a wonderful tool to gather information and analyse or display it. However, it can be somewhat daunting for ...

Changing Screen Colours

Changing screen colours can be easily done using the .NET [Console] object with commands similar to below: [Console]::ForegroundColor = "yellow" ...