Category Archives: Scripting

Resize Guest System Partition with PowerCLI

I recently needed to resize system partitions on several Windows 2008R2 virtual machines. To do this with Set-HardDisk the virtual machines must be powered off and you need a helper VM. I was looking for a way to do this … Continue reading

Posted in Scripting, Virtualization | 4 Comments

Script to ping a list of computer names

A few weeks ago, I co-worker asked for a script to ping a list of computer names. I thought I had one on my blog, but couldn’t find it. I decided to post a copy here to make it easier … Continue reading

Posted in Scripting | Leave a comment

Reviewing DNS logs with PowerShell

I recently helped out on a project where DNS services were being moved to different hosts with new IP addresses. After updating the DHCP scope options and static DNS configuration settings on all servers, the team turned on DNS logging … Continue reading

Posted in Scripting | Leave a comment

Quickly power on virtual machines with PowerCLI Get-View

I recently had a need to power on a lot of virtual machines in a specific order. I was given several text files each numbered with a startup sequence. At a specific time I would be given a number and … Continue reading

Posted in Scripting, Virtualization | 2 Comments

Do you have any way of getting server name from the attached list of IPs?

Every now and then I get a simple script idea in my email, like this one from a couple weeks ago: Do you have any way of getting server name from the attached list of IPs? This is a pretty … Continue reading

Posted in Scripting | 1 Comment