Invoke-RASAppPackageAssigned
SYNOPSIS
Invokes an action on an assigned application package.
SYNTAX
Invoke-RASAppPackageAssigned [-HostId] <uint> [-PackageName] <string> [[-SiteId] <uint>]
-ObjType {RDSHost | RDSHostPool | VDIHostPool | AVDHostPool} -RetryStaging <SwitchParameter>
[<CommonParameters>]DESCRIPTION
Invokes an action on an assigned application package.
The retry staging action is only available for RDS Hosts.
EXAMPLES
Example 1
Invoke-RASAppPackageAssigned -RetryStaging -ObjType RDSHost -HostId 1 -PackageName "App1"Retries Staging the assigned application package with name App1 within the RDS Host with Id 1.
PARAMETERS
-RetryStaging
Specifies to retry staging the assigned application package within a host.
This action only works with the RDS Hosts ObjType.
-PackageName
The name of the assigned application package for which to retry staging.
This must be the actual assigned application package name used within a host in the RAS farm.
-SiteId
ID of the Site from which the host containing the assigned application package is located in.
If the parameter is omitted, the licensing server site ID will be used.
-HostId
The ID of the host which contains the assigned application package.
-ObjType
The Object Type for which to invoke the assigned application package.
Possible values: RDSHost, RDSHostPool, VDIHostPool, AVDHostPool
Type reference: AppPackageAssignedObjType
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
None
RELATED LINKS
Last updated