Invoke-RASAppPackageAssigned

NAME

Invoke-RASAppPackageAssigned

SYNOPSIS

Invokes an action on an assigned application package.

SYNTAX

Invoke-RASAppPackageAssigned [-HostId] <uint> [-PackageName] <string> [[-SiteId] <uint>] -ObjType {RDSHost | RDS | RDSHostPool | RDSGroup | VDIHostPool | VDIPool | AVDHostPool} -RetryStaging <SwitchParameter> [<CommonParameters>]

DESCRIPTION

Invokes an action on an assigned application package.

The retry staging action is only available for RDS Hosts.

PARAMETERS

-RetryStaging <SwitchParameter> Specifies to retry staging the assigned application package within a host.

This action only works with the RDS Hosts ObjType.

-PackageName <string> 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 <uint> 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 <uint> The ID of the host which contains the assigned application package.

-ObjType <AppPackageAssignedObjType> The Object Type for which to invoke the assigned application package.

Possible values: RDSHost, RDS, RDSHostPool, RDSGroup, VDIHostPool, VDIPool, AVDHostPool

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

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.

Last updated