Users Guide
d) Invoke the method by running the following command: $ bcsUefi.changebootorder($newboUefi,
$AuthorizationToken). $AuthorizationToken variable is used to pass the BIOS password.
Shutting down and restarting the Windows system
remotely
You can shut down or restart the Windows system remotely using the RequestStateChange method.
1. Shut down the Windows system remotely using the following command:
(gwmi -ComputerName "SYSNAME" -Namespace root\dcim\sysman DCIM_ComputerSystem | Where-
Object {$_.Dedicated -ne 28}).RequestStateChange(3)
2. Restart the Windows system remotely using the following command:
(gwmi -ComputerName "SYSNAME" -Namespace root\dcim\sysman DCIM_ComputerSystem | Where-
Object {$_.Dedicated -ne 28}).RequestStateChange(11)
Getting system time value on Windows system remotely
You can get the system time value for the Windows system remotely using ManageTime method. For example:
In the command line interface, run the following:
a) $cred = Get-Credential
b) $session = New-CimSession -ComputerName "Server01" -Credential $cred
c) Get-CimInstance -CimSession $session -Namespace root\dcim\sysman -ClassName DCIM_TimeService
| Invoke-CimMethod -MethodName ManageTime -Arguments @{GetRequest="TRUE"}
20
Using Dell Command | Monitor 10.3