Stop-Computer - Powershell 2.0 CmdLet
Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.
More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.
Stop-Computer
Short description Stops (shuts down) local and remote computers. Syntax 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>] Description 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.