Waiting on virtual machine Guest OS customization to complete

I recently discovered a blog article from Vitali Baruh on the PowerCLI QE team in regards to waiting for the guest OS customization to complete following a deployment of a virtual machine from a template. http://blogs.vmware.com/PowerCLI/2012/08/waiting-for-os-customization-to-complete.html As Vitali discusses this process can be difficult to determine if this has completed in the guest operating system and if the … More Waiting on virtual machine Guest OS customization to complete

Modifying guest network interface with the Invoke-VMScript cmdlet

With the news that the ‘Set-VMGuestNetworkInterface’ cmdlet is to be deprecated in the next release of PowerCLI (http://blogs.vmware.com/PowerCLI/2014/11/announcement-future-cmdlet-deprecation.html), the question is how do I now modify the guest network interface? The ability to perform this action can now be moved to the Invoke-VMScript cmdlet, which is a pretty cool way to invoke a script in … More Modifying guest network interface with the Invoke-VMScript cmdlet

Adding NFS storage using the command line interface (CLI) with esxcfg and PowerCLI

In this example I will look at creating an NFS datastore using both esxcfg command line interface and PowerCLI to which I will use the following parameters. Datastore Name: openfiler-nfs2 NFS Host: 10.0.0.6 NFS mount point: /mnt/nfs/nfs2/vmfs/ By connecting to an ESXi hosts console session we can invoke the esxcfg command line interface to create … More Adding NFS storage using the command line interface (CLI) with esxcfg and PowerCLI

PowerCLI: Adding multiple disks to a virtual machine using the New-HardDisk cmdlet

I was recently adding a number of  hard disks to a virtual machine on an number of SCSI controller devices, so rather than using the vSphere Web Client I looked at using the New-HardDisk cmdlet in order to repeat this task of adding a new virtual machine hard disk . I wanted to create the virtual … More PowerCLI: Adding multiple disks to a virtual machine using the New-HardDisk cmdlet