本帖最后由 TiGi 于 4-13-2012 09:50 编辑
知道的人肯定很多。
但是估计知道的人都不愿意回答。
———————————————
安装了“vSphere PowerCLI”之后,有个“vSphere PowerCLI Cmdlets Reference”,自己去看吧!总不至于遇到个问题就来发帖咨询?
———————————————
几乎不用“vSphere PowerCLI”,但是刚才看“vSphere PowerCLI Cmdlets Reference”后,找到了相关的命令。
不知道是否这个指令,提供一些参考:
Example 1 --------------
Stop-xxxxxxxxxx 10.23.112.235 -Confirm
##Shutdowns the specified host after user confirmation.##
此外有个参数:
Force SwitchParameter Indicate that you want to stop the hosts even if they are not in a maintenance mode. —— 就这段说明就可以知道应该和关闭主机有关了。