Virtual Kim

@Kim_Bottu … Virtually Gung Ho

Adding a Para Virtual Disk from the vSphere webclient using PowerActions

The next bit will allow you to right click a VM in the webclient and add a paravirtual disk with a 40 GB disk size.

You can find PowerActions here: Download PowerActions

param ( [Parameter(Mandatory=$true)] [VMware.VimAutomation.ViCore.Types.V1.Inventory.VirtualMachine] $vParam ); $vParam | New-HardDisk -CapacityGB 40 -Persistence persistent | New-ScsiController -BusSharingMode virtual -Type ParaVirtual 

disk

disk2

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Information

This entry was posted on September 11, 2015 by in PowerActions, PowerCLI and tagged , .
Follow Virtual Kim on WordPress.com

Blog Stats

  • 25,689 hits
%d bloggers like this: