Get-RASProviderStatus
Retrieves the Provider status information.
Get-RASProviderStatus [-Id] <uint> [-StatusLevel {Level1 | Level2 | Level3}] [<CommonParameters>]
Get-RASProviderStatus [-InputObject] <Provider> [-StatusLevel {Level1 | Level2 | Level3}] [<CommonParameters>]
Get-RASProviderStatus [[-Server] <string>] [[-SiteId] <uint>] [-StatusLevel {Level1 | Level2 | Level3}] [<CommonParameters>]
Retrieves the Provider status information and optionally desktop VM and application info.
-Server <string> The name of the Provider server for which to retrieve the information.
This must be the actual server name used in the RAS farm.
-SiteId <uint> Site ID from which to retrieve the specified Provider server information.
If the parameter is omitted, the site ID of the Licensing Server will be used.
-Id <uint> The ID of the Provider server. To obtain the ID, use the Get-RASProvider cmdlet.
-InputObject <Provider> An object of type Provider representing a Provider server for which to retrieve the information.
To obtain the object, use the Get-RASProvider cmdlet.
-StatusLevel <StatusLevel> Specifies the level of detail that should be returned.
Acceptable values: Level1 (Provider status information only), Level2 (Provider status and Desktop VM info), Level3 (Provider status, Desktop VMs, Applications).
Possible values: Level1, Level2, Level3
<CommonParameters>
---------- EXAMPLE 1 ----------
Get-RASProviderStatus -Id 15
Retrieves the Provider status information for the Provider server with ID 15. ---------- EXAMPLE 2 ----------
Get-RASProviderStatus -Server MyProvider -StatusLevel Level2
Retrieves the Provider status and the desktop VM information for the server named "MyProvider". ---------- EXAMPLE 3 ----------
Get-RASProviderStatus -InputObject $Provider -StatusLevel Level3
Retrieves the Provider status, desktop VM, and application information for the server represented by the $Provider object. ---------- EXAMPLE 4 ----------
Get-RASProvider -Id 15 | Get-RASProviderStatus -StatusLevel Level1
Retrieves the Provider status information for the server represented by the object obtained from the pipeline output.