Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Stop-Computer

Stop-Computer - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »


Short description
Stops (shuts down) local and remote computers.

Stop-Computer [[-ComputerName] <String[]>] [[-Credential] <PSCredential>] [-AsJob] [-Authentication <AuthenticationLeve
l>] [-Force] [-Impersonation <ImpersonationLevel>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]

The Stop-Computer cmdlet shuts down computers remotely. It can also shut down the local computer.

You can use the parameters of Stop-Computer to run the shutdown operations as a background job, to specify the authenti
cation levels and alternate credentials, to limit the concurrent connections that are created to run the command, and t
o force an immediate shut down.

This cmdlet does not require Windows PowerShell remoting unless you use the AsJob parameter.