Get-RASAutoUpgrade

NAME

Get-RASAutoUpgrade

SYNOPSIS

Retrieves the Auto-upgrade settings.

SYNTAX

Get-RASAutoUpgrade -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} [-SiteId <uint>] [<CommonParameters>]

Get-RASAutoUpgrade [-Id] <uint> -ObjType {RDSHostPool | VDIHostPool | AVDHostPool} [<CommonParameters>]

Get-RASAutoUpgrade [-Name] <string> [[-SiteId] <uint>] -ObjType {RDSHostPool | VDIHostPool | AVDHostPool} [<CommonParameters>]

DESCRIPTION

Retrieves the Auto-upgrade settings from RDSHostPool, RDSDefaults, VDIHostPool, VDIDefaults, AVDHostPool or AVDDefaults (Single-Session/Multi-Session).

PARAMETERS

-Name <string> The name or server for which to retrieve the Auto-upgrade settings.

-SiteId <uint> Site ID from which to retrieve the Auto-upgrade settings.

If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a server for which to retrieve the Auto-upgrade settings.

-ObjType <HostPoolObjType> The Object Type for which to retrieve the Auto-upgrade settings.

Possible values: RDSHostPool, VDIHostPool, AVDHostPool

-DefObjType <ServerDefObjType> The Default Object Type for which to retrieve the Auto-upgrade settings.

Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef

<CommonParameters>

INPUTS

-none-

OUTPUTS

AutoUpgradeSettings

EXAMPLES

---------- EXAMPLE 1 ----------

Get-RASAutoUpgrade -DefObjType RDSDef

Retrieves the Auto-upgrade settings of the RDS Default Settings. ---------- EXAMPLE 2 ----------

Get-RASAutoUpgrade -Name "VDIHostPool1" -ObjType VDIHostPool

Retrieves the Auto-upgrade settings of the specified VDIHostPool by Name. ---------- EXAMPLE 3 ----------

Get-RASAutoUpgrade -Id 1 -ObjType AVDHostPool

Retrieves the Auto-upgrade settings of the specified AVDHostPool by Id.

Last updated