VMWare View Powershell useful cmdlet notes.
Summary:
I’m just staring to put this together mainly for my own benefit, but if someone else finds this useful, then great. I’ll be continually adding to this post. If you’d like to contribute or if I got something wrong please feel free to leave a comment.
Notes:
Disable Provisioning in all linked clone pools:
Gets list of all View related cmdlets:
Gets list of pools, max number of VM's, and datastores associated:
I’m just staring to put this together mainly for my own benefit, but if someone else finds this useful, then great. I’ll be continually adding to this post. If you’d like to contribute or if I got something wrong please feel free to leave a comment.
Notes:
Disable Provisioning in all linked clone pools:
$pools = get-pool
$pools | Update-AutomaticLinkedClonePool -isProvisioningEnabled:$false
get-command | where {$_.modulename -match 'vmware.view'}
#Below is so you can include it into the
#add-pssnapin.ps1 under your View installation directory
function get-viewcommand {get-command | where {$_.modulename -match 'vmware.view'}}
#Helps in making sure your pools are distributed across evenly among datastores.
Get-Pool | Select Pool_ID, MaximumCount, DatastorePaths
Comments