User Guide
- 72-
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_PowerManagementSer
vice?__cimnamespace=root/cimv2+Name=Host Power Management
Service+CreationClassName=CIM_PowerManagementService+SystemName=Unkn
own.IPMI_BMC_DeviceID.136+SystemCreationClassName=CIM_HostComputerSyst
em” -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/
CIM_HostComputerSystem</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name='__cimnamespace'>root/cimv2</wsman:Selector>
<wsman:Selector
Name='CreationClassName'>CIM_HostComputerSystem</wsman:Selector>
<wsman:Selector Name='Name'>Unknown.IPMI BMC
DeviceID.136</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.