Get-​Azure​Remote​App​Operation​Result

Retrieves the result of an Azure RemoteApp operation.

Syntax

Get-AzureRemoteAppOperationResult
   [-TrackingId] <String>
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]

Description

The Get-AzureRemoteAppOperationResult cmdlet retrieves the result of a long-running Azure RemoteApp operation. Azure RemoteApp uses long-running operations for many actions that require processing by the service and cannot return immediately. Examples of cmdlets that return tracking IDs include Update-AzureRemoteAppCollection, Set-AzureRemoteAppWorkspace, Disconnect-AzureRemoteAppSession, and others.

Examples

Example 1: Use a tracking ID to get an operation result

PS C:\> $result = New-AzureRemoteAppCollection -CollectionName Contoso -ImageName "Windows Server 2012 R2" -Plan Standard -Location "West US" -Description CloudOnly
PS C:\> Get-AzureRemoteAppOperationResult -TrackingId $result.Tracking

This command saves the tracking ID returned from an Azure RemoteApp operation. The tracking ID is passed to Get-AzureRemoteAppOperationResult in the command that follows.

Required Parameters

-TrackingId

Specifies the tracking ID of an operation.

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

Optional Parameters

-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

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