You can use the Add-ManualPool, Get-ViewVC, and Update-ManualPool cmdlets to create and update manually provisioned desktop pools.

In the following example, the Add-ManualPool cmdlet creates a manually provisioned desktop pool named manPool that contains a virtual machine named myVM.

Add-ManualPool -pool_id manPool -id (Get-VM -name "myVM").id -isUserResetAllowed $true

In the following example, the Get-ViewVC cmdlet creates a manually provisioned desktop pool named man1 from the desktops managed by the vCenter Server instance named vc.mydom.int.

Get-ViewVC -serverName vc.mydom.int | Get-DesktopVM -poolType Manual | Add-ManualPool -pool_id
man1 -isUserResetAllowed $false

In the following example, the Update-ManualPool cmdlet updates the configuration of a manually provisioned desktop pool named man1.

Update-ManualPool -pool_id man1 -displayName "Manual Desktop 1" -isUserResetAllowed $true
Note:

To use the Get-VM cmdlet, you must install vSphere PowerCLI.