Fragment and Social Distance Drives

During the COVID-19 pandemic, Microsoft should have updated its Defragment and Optimize Drives tool to do the inverse by maintaining at least six-bits of separation from neighboring data. It says “You can fragment your drives to help your data maintain a safe social distance (at least a six-bits of separation). Only drives on or connected […]

PowerShell Set-ADAccountPassword -WhatIf bug

Today (2017 March) I unfortunately learned of the -WhatIf bug for the PowerShell Active Directory cmdlet Set-ADAccountPassword. About -WhatIf “-WhatIf” is a common PowerShell System State parameter that is supposed to “Explain what will happen if the command is executed, without actually executing the command.(Boolean ) -whatif:$false or -whatif:$true.” I use it all of the […]

Using PowerShell to clean up DHCP and DNS for VDI

When you run a virtual desktop infrastructure that builds and deletes hundreds of virtual machines every day, DHCP and DNS might eventually get out of sync and need some cleanup. When writing this PowerShell cleanup script, I decided to make vCenter my source of truth because has the virtual machine host names, IP addresses, power […]

Using PowerShell to change the UPN Suffix

For decades, it’s been a best practice to configure your corporate domain with a non-internet-rotatable .local domain (e.g. example.local instead of example.com). But in the modern everything-is-connected-to-the-internet age, this appears to be falling out of fashion. When “Preparing to provision users through directory synchronization to Office 365,” you’ll eventually realize that you’ll need to follow […]

Unable to update Office 365 password

While using https://login.microsoftonline.com/common/login I was prompted to update my password for a test account I was using. The Update Your Password prompt read: You need to update your password because this is the first time you are signing in, or because your password has expired. No problem. So I entered my Current password and my […]