Come and Check our BETA Alpha version of Powershellcenter.net
Send me your comment to Powershell@powershellcenter.com

Synopsis

Shuts down, turns off, or saves a virtual machine.

Syntax

Stop-VM [-Name] <String[]> [-AsJob] [-ComputerName <String[]>] [-Force] [-Passthru] [-Save] [-TurnOff] [-Confirm] [-WhatIf] [<CommonParameters>]

Stop-VM [-VM] <VirtualMachine[]> [-AsJob] [-Force] [-Passthru] [-Save] [-TurnOff] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Stop-VM cmdlet shuts down, turns off, or saves a virtual machine.

Parameters

-AsJob [<SwitchParameter>]

Specifies that the cmdlet is to be run as a background job.

Required?   false
Position?   named
Default value?  
Accept pipeline input?   false
Accept wildcard characters?   false

-ComputerName [<String[]>]

Specifies one or more Hyper-V hosts on which a virtual machine is to be shut down. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer