Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Stop-Computer

Stop-Computer - Powershell 2.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 {Default | None
 | Connect | Call | Packet | PacketIntegrity | PacketPrivacy | Unchanged}] [-Force] [-Impersonation {Default | Anon
ymous | Identify | Impersonate | Delegate}] [-ThrottleLimit <int>] [-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 auth
entication levels and alternate credentials, to limit the concurrent connections that are created to run the comman
d, and to force an immediate shut down.

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