Recent Posts

ESXTOP Available Through PowerCLI

posted

PowerCLI 4.1.1 introduces the new Get-EsxTop cmdlet. This cmdlet provides functionality similar to the “esxtop” utility. The cmdlet allows you to access a wide variety of stats for your virtual environment – thus allowing you to create even more versatile reports using PowerCLI. There are 3 types of data returned by the cmdlet – counter Read more...

Error handling with PowerCLI 4.1

posted

Complex scripts need to handle errors and resolve common error scenarios without user interaction. A step in that direction is exposing the entire specter of vCenter server error hierarchy along with PowerCLI specific exceptions (for example when validating input parameters).  This improvement makes possible to write scripts which handle expected errors and deal with them Read more...

Deploying a VM with Static IP in 3 Steps

posted

VM customization is a very powerful feature that can make miracles during the deployment process. Since vSphere PowerCLI 4.0 U1,  you can use cmdlets to modify a number of network settings of the newly created virtual machines. Here is how to do it: Regards, Nedko Nedev Member of PowerCLI Dev Team Read more...

Customizing Guest Cmdlets

posted

PowerCLI has several cmdlets that work inside the guest of a VM: Guest network interface cmdlets: Get-VMGuestNetworkInterface, Set-VMGuestNetworkInterface Guest route cmdlets: Get-VMGuestRoute, Set-VMGuestRoute, New-VMGuestRoute, Remove-VMGuestRoute Resizing of guest disk partitions: Set-HardDisk These cmdlets are script-based and this makes them user-customizable. By default, they are supported on Windows (XP, 2003) and RedHat 5 guest operating systems. Read more...