Category Archives: PowerShell

Automating AD cleanup with PowerShell – Updated

So, a while back I put together a script to automate the cleanup of inactive computer accounts. Since then, I’ve had a need to take that automation to the next level and target multiple OUs, as well add some additional … Continue reading

Posted in Microsoft, PowerShell | Leave a comment

Update the ISO Path on multiple VMs using PowerCLI

I have several special use case VMs that boot from an ISO file stored on a datastore. During a recent storage refresh, I found that we had the need to update the ISO path on all of these VMs from … Continue reading

Posted in PowerShell, VMware | Tagged , , , | Leave a comment

Generating SSL Certificates for ESXi Hosts using PowerShell

If you have ever had to generate SSL certificates for all of your hosts, you know that this is no trivial task, especially if you have a large environment. I wrote a script that generates the CSR, converts the key … Continue reading

Posted in PowerShell, VMware | Tagged , , | Leave a comment

Cleaning up inactive computer accounts in AD with PowerShell

Have you ever had a need to clean a large number of unused computer accounts out of AD? This can be done quickly and easily with PowerShell. For AD work I personally prefer to use the Dell/Quest ActiveRoles Management Shell of … Continue reading

Posted in Microsoft, PowerShell | Tagged , | 1 Comment