For the complete documentation index, see llms.txt. This page is also available as Markdown.

Restart-RASVM

SYNOPSIS

Restarts a virtual machine.

SYNTAX

Restart-RASVM [-ProviderId] <uint> [-Id] <string> [<CommonParameters>]
Restart-RASVM [-InputObject] <VM> [<CommonParameters>]

DESCRIPTION

Restarts a virtual machine.

EXAMPLES

Example 1

Restart-RASVM -ProviderId 2 -Id 42311235-09c5-ca15-337d-b9723015edf0

Restarts the specified virtual machine on the specified Provider.

Example 2

Restarts the virtual machine which is identified by an object obtained from the pipeline output.

PARAMETERS

-ProviderId

The name of the target Provider server.

-Id

Target virtual machine UUID.

-InputObject

The VM on which to perform the power operation.

To obtain an object of type VM, use the Get-VM cmdlet.

Type reference: VM

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

VM

OUTPUTS

None

Last updated