Restart-RASVM
Last updated
Last updated
Restart-RASVM
Restarts a virtual machine.
Restart-RASVM [-] <uint> [-] <string> [<>]
Restart-RASVM [-] <> [<>]
Restarts a virtual machine.
-ProviderId <uint> The name of the target Provider server.
-Id <string> Target virtual machine UUID.
To obtain an object of type VM, use the Get-VM cmdlet.
<CommonParameters>
-none-
---------- EXAMPLE 1 ----------
Restart-RASVM -ProviderId 2 -Id 42311235-09c5-ca15-337d-b9723015edf0
Restarts the specified virtual machine on the specified Provider. ---------- EXAMPLE 2 ----------
Get-RASVM -ProviderId 2 -Id 42311235-09c5-ca15-337d-b9723015edf0 | Restart-RASVM
Restarts the virtual machine which is identified by an object obtained from the pipeline output.
-InputObject <> The VM on which to perform the power operation.