View Post

The art of the shutdown – A PowerCLI adventure

One of the most talked about processes in VMware environments is the process of shutting down. While we strive to create “always on” systems, the reality is that we will at some point have to shut down a vSphere environment for one reason or another. Whether it is a planned event, or if we have to be prepared to react …

View Post

Microsoft DNS record updates using PowerShell and DNSCMD

UPDATE TO THIS POST: Hi folks! some of the comments about records that are listed with (same as parent folder) as the name caused me to make an update. I’ve noted the updates in the following post: http://www.discoposse.com/2013/04/14/updating-same-as-parent-folder-records-with-dnscmd-and-powershell/ I have also updated the code below to reflect the new code. ORIGINAL POST: There are occasions where we need to do …

View Post

PowerShell – Listing aged out computer accounts in Active Directory

Do you remember having to use OldCmp.exe ¬†from JoeWare (great tools by the way) to capture a a list of computer accounts which have not been attached to your Active Directory for a period of time. Luckily with PowerShell and Quest ActiveRoles you can do this with a simple two line script. Here’s the code: http://gist.github.com/492494