Back in late 2012 / early 2013 I created a number of documents on advanced identity integration with Office 365 using FIM and the Windows Azure Active Directory (WAAD) Management agent. That … [Keep Reading]
Posts
Putting colorized Powershell code in your blog documentation
I love powershell, I love it’s power, flexibility and extensibility, however I I do most of my work in the shell because I cannot stand to use the ISE.
The only feature … [Keep Reading]
Powershell – Deleting files X days old
Here’s a powershell script you can use to delete files in a directory (and all sub-directories) X days old or older.
$Now= Get-Date
$Days = “3“
$TargetFolder =… [Keep Reading]
Merging and appending to CSV files using Powershell
The time-tested approach of appending data to the end of a file using >> doesn’t necessarily work with CSV files in Powershell, and Out-File with the -append switch typically results in a … [Keep Reading]
Powershell and Hyper-V Management
There’s an awesome tool on codeplex for managing Hyper-V using Powershell called PSHyperV, it’s especially handy if you’re working with Hyper-V on a Windows Server Core installation.
Just download the … [Keep Reading]
NT Account to SID translation …. and back again.
I keep the following nifty functions in my Powershell profile, it helps when working with SIDs and Active Directory, it allows you to easily convert a SID back to the NTACCOUNT … [Keep Reading]
Removing a proxy address from an NT Account
Occasionally it might be necessary to remove one or more items from the ProxyAddresses array in AD, this array contains all the SMTP addresses stamped on the AD object. Here’s a VBScript … [Keep Reading]
Autodefrag via a VBScript
Drive defragmentation is not a very exciting subject, however in the past I’ve had a need to automate drive defragmentation via a scheduled task so I’ve used the following VB script. It … [Keep Reading]
Monitoring for MX record changes with VBScript
Sometimes, like in the case of an email migration, it is necessary to wait for DNS changes (MX records for example) to replicate before continuing your migration, otherwise mail might bounce or … [Keep Reading]
IMCEAEX non-delivery report
When migrating from on-prem Exchange to Office 365, it's best to treat it like any other cross-forest move and populate each object's LegacyExchangeDN value as an X500 address, otherwise you'll get NDR … [Keep Reading]