1、以Windows Server 2012进行演示操作;

2、点击任务栏上的Powershell图标;

3、Powershell窗口自动开启;

4、在Powershell窗口中输入Stop-Computer;

5、点击回车后,系统自动关闭;

6、注意:“Stop-Computer”中没有空格,如果在“-”处,输入空格,Powershell会报错。


1、以Windows Server 2012进行演示操作;

2、点击任务栏上的Powershell图标;

3、Powershell窗口自动开启;

4、在Powershell窗口中输入Stop-Computer;

5、点击回车后,系统自动关闭;

6、注意:“Stop-Computer”中没有空格,如果在“-”处,输入空格,Powershell会报错。

