Vm’s and space details Find Thick provisioning Vm’s in a datastore Find VM’s migration failed VM’s (in last 5 days) Find the Specific events across multiple hosts in a vCenter (Below example we are checking for Down state) Find a Specific OS VM’s count (Below case we are looking for Windows 7 vm’s) Find OS […]
Tag: PowerShell/PowerCLI
Clear temp files from Windows server
A simple PowerShell script to clear C:\ disk space. This script will be useful before start patching the windows servers since at the time of patching lots of Hotfixes will be copied to the server for execution and if the server is already running out of space, then patching will fail.
Powershell – IP Increase
By using a simple powershell operators we can increase the last digits in an IP Let’s say my IP is 10.1.2.3 and if I need the 25th IP for some reason, use below to accomplish the task