Category Archives: Scripting

vCheck (Daily Report)

One of the best scripts I have ever used is the Virtu-Al.net vCheck daily report (http://www.virtu-al.net/featured-scripts/vcheck/). Not only does it show problems in your virtual infrastructure, it also shows the power of PowerCLI and PowerShell. A little over a month … Continue reading →

Posted in Scripting, Virtualization | Leave a comment

ESXiBackup Folder Cleanup

In an earlier post Directory partition has not been backed up [DC=virtualcenter,DC=vmware,DC=int] I suggested a method to backup the VMwareVCMSDS ADAM database. As Joern posted in a comment, this solution could fill up your D: drive. The following code should … Continue reading →

Posted in Scripting, Virtualization | 1 Comment

Directory partition has not been backed up [DC=virtualcenter,DC=vmware,DC=int]

With the help of Alan Renouf’s vCheck (Daily Report) script I recently started noticing an error in my Windows event log on a vCenter server. This directory partition has not been backed up since at least the following number of … Continue reading →

Posted in Scripting, Virtualization | 2 Comments

Active Directory: Find recent NO_CLIENT_SITE subnets

From time to time I try to verify that all of my subnet boundaries are properly defined in AD Sites and Services. At some locations this is a little more challenging — especially when a site has many domain controllers. … Continue reading →

Posted in Scripting | Leave a comment

Create a bunch of snapshots with PowerCLI

Last week I was working with snapshots in my lab. I came up with this one liner to create a bunch of snapshots on the same virtual machine: for ($i=1; $i -le 5; $i++) {get-vm “snaptest” |new-snapshot -name “snapshot00$i” -Description … Continue reading →

Posted in Scripting, Virtualization | Leave a comment