WARNING This script is obsolete
Had this warning appear this morning when starting Powershell. My first thought was that I haven’t changed anything, in my profile at least. Since I have put in my powershell […]
Had this warning appear this morning when starting Powershell. My first thought was that I haven’t changed anything, in my profile at least. Since I have put in my powershell […]
From page 16 of Performing a Command-Line Installation of vCenter Server
I often create file names such as logs with the current date and was tired of having to create the date string for all my scripts, so created these quick […]
Whilst attempting to create a portion of a script to set up and test VMware’s DPM (Distributed Power Management) I found that I needed to find out which cluster the […]
Whilst doing some string manipulation recently was having issues getting the correct data, or rather the data I expected. Consider the following: The result is a -1, which is not […]
Running Perl script with parameter from within Powershell Window Whilst doing automated configuration of ESXi4.x I need to install hardware specific bundles for example HP CIM providers. Now the PowerCLI […]
How do I get the IP address that is displayed in the VI Client for a Virtual Machine? This is a question that I had today. Caveats: VMware tools must […]
Playing around today with a batch file and needed to work out the total number of arguments that have been passed. [bat] SET /A ArgCount=0 for %%a in (%*) do […]
How many disks (vmdks) and what is the total configured size of these Virtual Machines (VMs)? Currently moving a large number of VMs across datastores using vSphere’s Storage VMotion, now […]
The following script gets all the VMs that have connected CD ROM drives and in addition it also picks up VMs that may not have CDs in a connected or […]