You can use View PowerCLI cmdlets to administer View on a View Connection Server instance.

The following table lists all the available View PowerCLI cmdlets, organized by View object. For cmdlet syntax, use the Get-Help cmdlet. For more information, see Display Help for View PowerCLI.

Table 1. View PowerCLI cmdlets

Object

cmdlet

Description

Desktop pool

Get-Pool

Returns information about desktop pools.

Remove-Pool

Removes a desktop pool.

Add-PoolEntitlement

Creates desktop pool entitlements for users.

Get-PoolEntitlement

Returns information about the users who are entitled to use desktop pools.

Remove-PoolEntitlement

Removes desktop pool entitlement from users.

Linked-clone desktop pool

Add-AutomaticLinkedClonePool

Adds an automatically provisioned linked-clone desktop pool.

Update-AutomaticLinkedClonePool

Updates an automatically provisioned linked-clone desktop pool.

Send-LinkedCloneRebalance

Rebalances linked-clone desktops among the available logical drives.

Send-LinkedCloneRecompose

Recomposes linked-clone desktops from a snapshot of their parent virtual machine.

Send-LinkedCloneRefresh

Refreshes the operating system disks of linked-clone desktops to their original state and size.

Export-NetworkLabelSpecForLinkedClone

Lists the shared network labels on all the hosts in a specified cluster on which a linked-clone desktop pool is to be deployed. The output is exported to a configuration file.

Full-clone desktop pool

Export-NetworkLabelSpecForFullClone

Lists the shared network labels on all the hosts in a specified cluster on which a full-clone desktop pool is to be deployed. The output is exported to a configuration file.

Automatic virtual machine desktop pool

Add-AutomaticPool

Adds an automatically provisioned full virtual machine desktop pool.

Update-AutomaticPool

Updates an automatically provisioned full virtual machine desktop pool.

Manual desktop pool

Add-ManualPool

Adds a manually provisioned pool of managed desktops.

Update-ManualPool

Updates a manually provisioned pool of managed desktops.

Add-ManualUnmanagedPool

Adds a manually provisioned pool of unmanaged desktops.

Update-ManualUnmanagedPool

Updates a manually provisioned pool of unmanaged desktops.

View Composer domain

Get-ComposerDomain

Returns information about View Composer.

View Connection Server instance

Get-ConnectionBroker

Returns information about View Connection Server and security server instances.

Update-ConnectionBroker

Updates the configuration of a View Connection Server or security server instance.

VMware Horizon license

Get-License

Returns the View licenses on a View Connection Server instance.

Set-License

Sets a View license on a View Connection Server instance.

Physical machine

Get-DesktopPhysicalMachine

Returns a list of physical machines that are available for use with unmanaged desktop pools.

Virtual machine

Get-DesktopVM

Returns information about virtual machines.

Send-VMReset

Resets a virtual machine.

Event

Get-EventReport

Returns an event report for a specified view.

Get-EventReportList

Returns the views that are available for use with the Get-EventReport cmdlet.

View global setting

Get-GlobalSetting

Returns global configuration information about the View environment.

Update-GlobalSetting

Updates global configuration information about the View environment.

View service health monitor

Get-Monitor

Returns a list of health monitors for View services.

Persistent user data disk

Get-ProfileDisk

Returns information about persistent user data disks.

Remote session

Get-RemoteSession

Returns information about active remote sessions.

Send-SessionDisconnect

Disconnects an active remote session.

Send-SessionLogoff

Logs out an active remote session.

User

Get-User

Returns information about users.

Remove-UserOwnership

Removes the ownership of a virtual machine.

Update-UserOwnership

Assigns a user (specified as a SID) to a virtual machine. This cmdlet does not support the assignment of users to physical machines.

vCenter Server instance

Add-ViewVC

Adds a vCenter Server instance to View.

Get-ViewVC

Returns information about vCenter Server instances.

Remove-ViewVC

Removes a vCenter Server instance from View.

Update-ViewVC

Updates the configuration of a vCenter Server instance in View.