Add-RASAppPackageAssigned
SYNOPSIS
Assigns an application package to an object type.
SYNTAX
Add-RASAppPackageAssigned
-DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings}
-PackageName <string> -Version <string> [-SiteId <uint>] [<CommonParameters>]Add-RASAppPackageAssigned [-Id] <uint> -ObjType {RDSHost | RDSHostPool | VDIHostPool | AVDHostPool}
-PackageName <string> -Version <string> [<CommonParameters>]Add-RASAppPackageAssigned [-InputObject] <RASSerilazableObj> -PackageName <string> -Version <string>
[<CommonParameters>]Add-RASAppPackageAssigned [-Name] <string> [[-SiteId] <uint>]
-ObjType {RDSHost | RDSHostPool | VDIHostPool | AVDHostPool} -PackageName <string>
-Version <string> [<CommonParameters>]DESCRIPTION
Adds assigned application package to an object type.
EXAMPLES
Example 1
Adds the assigned application package to the object type VDIPool.
PARAMETERS
-Name
The name for which to modify the application package assigned settings.
-SiteId
Site ID from which to modify the application package assigned settings.
If the parameter is omitted, the Licensing Server site ID will be used.
-Id
The ID for 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 application package name.
This must be the actual application package name used in the RAS farm.
-Version
The 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