-
Search
-
Categories
- Lab Infrastructure (81)
- Messaging (10)
- Scripting (156)
- Uncategorized (2)
- Virtualization (211)
-
Archives
Category Archives: Scripting
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
Check ESXi to see if sshd is listening
In a recent service request with VMware, Tech Support enabled ssh on one of my ESXi hosts. Unfortunately, the outage that prompted my support request impacted multiple hosts in different clusters, so we were looking at many things in the … Continue reading
Posted in Scripting, Virtualization
Leave a comment