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.

        Required?                    true

        Position?                    named

        Default value                False

        Accept pipeline input?       false

        Accept wildcard characters?  false

-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.

        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-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.

        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false

-HostId <uint> The ID of the host which contains the assigned application package.

        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false

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

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

        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false

<CommonParameters>

        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 

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

© 2024 Parallels International GmbH. All rights reserved.