OS Shutdown
Create the file input-RequestPowerStateChange8.xml and enter the following command, if
you use WinRM.
winrm invoke RequestPowerStateChange
http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_PowerManagementServ
ice?__cimnamespace=root/cimv2+Name=IPMI¥_Power¥_Service+CreationClassNa
me=CIM_PowerManagementService+SystemName=Unknown.IPMI¥_BMC¥_DeviceI
D.32+SystemCreationClassName=Host_ComputerSystem
-r:https://IP_ADDRESS/wsman -username:USERNAME -password:PASSWORD
-auth:basic -encoding:utf-8 -format:xml -file:input-RequestPowerStateChange8.xml
-skipCAcheck -skipCNcheck -skipRevocationcheck
input-RequestPowerStateChange8.xml
<n1:RequestPowerStateChange_INPUT
xmlns:n1="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_Power
ManagementService"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
<n1:PowerState>8</n1:PowerState>
<n1:ManagedElement>
<wsa:ReferenceParameters>
<wsman:ResourceURI>http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/
Host_ComputerSystem</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name='__cimnamespace'>root/cimv2</wsman:Selector>
<wsman:Selector
Name='CreationClassName'>Host_ComputerSystem</wsman:Selector>
<wsman:Selector Name='Name'>Unknown.IPMI BMC
DeviceID.32</wsman:Selector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:ManagedElement>
</n1:RequestPowerStateChange_INPUT>
The above OS shutdown is equivalent to pressing the POWER switch
when the power of the host system is on. Your operating system
must be set to shut down when you power off the system.
Please change according to your environment.
"IP_ADDRESS" : IP address of EXPRESSSCOPE Engine 3.
"USERNAME/PASSWORD": username/password of EXPRESSSCOPE
Engine 3.
-
-
66