Set-RASAppPackageAssigned
SYNOPSIS
Modifies the assigned application package settings.
SYNTAX
Set-RASAppPackageAssigned
-DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings}
-PackageName <string> -Version <string> [-SiteId <uint>] [<CommonParameters>]Set-RASAppPackageAssigned [-Id] <uint> -ObjType {RDSHost | RDSHostPool | VDIHostPool | AVDHostPool}
-PackageName <string> -Version <string> [<CommonParameters>]Set-RASAppPackageAssigned [-InputObject] <RASSerilazableObj> -PackageName <string> -Version <string>
[<CommonParameters>]Set-RASAppPackageAssigned [-Name] <string> [[-SiteId] <uint>]
-ObjType {RDSHost | RDSHostPool | VDIHostPool | AVDHostPool} -PackageName <string>
-Version <string> [<CommonParameters>]DESCRIPTION
Modifies the assigned application package settings using the specified parameters and their values.
EXAMPLES
Example 1
Modifies the name of the application package settings tag with index 1.
PARAMETERS
-Name
The name for which to modify the assigned application package settings.
-SiteId
Site ID for which to modify the assigned application package settings.
If the parameter is omitted, the Licensing Server site ID will be used.
-Id
The ID from which to modify the application package assigned settings.
-ObjType
The Object Type for which to modify the assigned application package settings.
Possible values: RDSHost, RDSHostPool, VDIHostPool, AVDHostPool
Type reference: AppPackageAssignedObjType
-DefObjType
The Default Object Type for which to modify the application package settings.
Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings
Type reference: ServerDefObjType
-InputObject
An object of type RDS, RDSHostPool or VDIHostPool for which to modify the Assigned Application settings.
Type reference: RASSerilazableObj
-PackageName
The name of the application package for which to change the version.
This must be the actual application package name used in the RAS farm.
-Version
The new version of the application package.
This must be the actual application package version used in the RAS farm.
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