PowerShell Logo Small

Suspend-VM



This is the built-in help made by Microsoft for the command 'Suspend-VM', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Suspends, or pauses, a virtual machine.

SYNTAX


Suspend-VM [-Name] <String[]> [-AsJob] [-ComputerName <String[]>] [-Passthru] [-Confirm] [-WhatIf] [<CommonParameters>]
Suspend-VM [-VM] <VirtualMachine[]> [-AsJob] [-Passthru] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Suspend-VM cmdlet suspends a virtual machine. To return a suspended virtual machine to a running state, use the Resume-VM cmdlet.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?LinkID=306968

REMARKS

<

Examples


Example 1

PS C:\>Suspend-VM –Name TestVM



This example suspends a virtual machine named TestVM.




Example 2

PS C:\>Suspend-VM –Name Test*



This example suspends all virtual machines whose names starts with Test.