Keyboard Shortcuts for InPrivate, Incognito, and Private browsers on Windows

Most browsers have a mode you may use that will not remember your history or cookies when closed. For a Windows machine, these are their keyboard shortcuts. Ctrl + Shift + N for a Microsoft Edge InPrivate browser Ctrl + Shift + N for a Google Chrome Incognito browser Ctrl + Shift + P for …

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 …