Get-RDVirtual Desktop Collection Job Status

Gets the status of a job on a virtual desktop collection.

Syntax

Get-RDVirtualDesktopCollectionJobStatus
   [-CollectionName] <String>
   [-ConnectionBroker <String>]
   [<CommonParameters>]

Description

The Get-RDVirtualDesktopCollectionJobStatus gets status information for the most recent job that the server ran on a virtual desktop collection. You can use the Stop-RDVirtualDesktopCollectionJob cmdlet to forcibly end a job that is in an unknown state.

Examples

Example 1: Get the status of a job on a virtual desktop collection

PS C:\> Get-RDVirtualDesktopCollectionJobStatus -ConnectionBroker "rdcb.contoso.com" -CollectionName "Virtual Desktop Collection"

This command gets the status information of the job that the server most recently ran on the virtual desktop collection named Virtual Desktop Pool.

Required Parameters

-CollectionName

Specifies the name of a virtual desktop collection.

Type: String
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

Optional Parameters

-ConnectionBroker

Specifies the Remote Desktop Connection Broker (RD Connection Broker) server for a remote desktop deployment. If you do not specify a value, the cmdlet uses the fully qualified domain name (FQDN) of the local computer.

Type: String
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Outputs

System.Object