Suspend-RASVM

NAME

Suspend-RASVM

SYNOPSIS

Suspends a virtual machine.

SYNTAX

Suspend-RASVM [-ProviderId] <uint> [-Id] <string> [<CommonParameters>]

Suspend-RASVM [-InputObject] <VM> [<CommonParameters>]

DESCRIPTION

Suspends a virtual machine.

PARAMETERS

-ProviderId <uint> The name of the target Provider server.

        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false

-Id <string> Target virtual machine UUID.

-InputObject <VM> The VM on which to perform the power operation.

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

<CommonParameters>

INPUTS

VM

OUTPUTS

-none-

EXAMPLES

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

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

Suspends the specified virtual machine on the specified Provider. ---------- EXAMPLE 2 ----------

Get-RASVM -ProviderId 2 -Id 42311235-09c5-ca15-337d-b9723015edf0 | Suspend-RASVM

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

Last updated