I use the following function in my PowerShell profile so that I can use the Microsoft Online cmdlets, the Exchange cmdlets against Exchange online and the Exchange cmdlets against on-premises all in … [Keep Reading]
Posts
Testing ADFS Federation with Office 365 without DirSync in place
Sometimes, as you are deploying ADFS, DirSync, Hybrid etc… you might decide that you want to test ADFS with your tenant before you have DirSync in place (maybe you're waiting on a … [Keep Reading]
Office 365 Exchange Attribute migration between forests
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]
Auto-Licensing script for Office 365
You can use the following script with task scheduler to connect to your tenant via powershell, check for any unlicensed users and apply a license.
It will alert via email when the … [Keep Reading]
Duplicating an on-prem mail-enabled security group as a cloud DL
Many Office 365 customers run into problems in a non-hybrid (simple coex) configuration where they used to have on-premise mail-enabled security groups, but they alllowed the group owners to update membership using … [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]
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]
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]
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]
Group Nesting Powershell report using Quest Activeroles
I was recently asked to provide a report on the number (and depth) of nested groups in AD.
Getting a list of the groups inside a group is pretty simple using … [Keep Reading]