Invoke-RASAVDHost
Last updated
Last updated
Invoke-RASAVDHost
The cmdlet invoke a command on an object of type Azure Virtual Desktop Host.
Invoke-RASAVDHost [-] <> [[-] <uint>] - {CancelSchedule} [<>]
Invoke-RASAVDHost [[-] <uint>] - {CancelSchedule} [- <uint>] [<>]
Invoke-RASAVDHost [-] <string> [[-] <uint>] - {CancelSchedule} - <uint> [<>]
The cmdlet invoke a command on an object of type Azure Virtual Desktop Host.
-VMId <string> The ID of the VM for which to retrieve the information.
-ProviderId <uint> Provider Id from which to retrieve the AVD Host.
-SiteId <uint> Site ID from which to retrieve the AVD Host.
If the parameter is omitted, the Licensing Server site ID will be used.
Accepted values: CancelSchedule.
Possible values: CancelSchedule
<CommonParameters>
-none-
---------- EXAMPLE 1 ----------
Invoke-RASAVDHost -VMID "42311235-09c5-ca15-337d-b9723015edf0" -ProviderID 1 -Command CancelSchedule
Invokes CancelSchedule command on the AVD Host properties specified by the VMId and ProviderId. ---------- EXAMPLE 2 ----------
Invoke-RASAVDHost -ProviderID 1 -Command CancelSchedule
Invokes CancelSchedule command on all the AVD Hosts found within the Provider with Id 1.
-InputObject <> The AVD Host info object.
-Command <> Command.