Users Guide

Table Of Contents
Arresto e riavvio del sistema operativo Windows da remoto
Il sistema operativo Windows può essere arrestato o riavviato da remoto utilizzando il metodo RequestStateChange.
1. Per arrestare Windows da remoto, utilizzare il seguente comando:
(gwmi -ComputerName "SYSNAME" -Namespace root\dcim\sysman DCIM_ComputerSystem | Where-
Object {$_.Dedicated -ne 28}).RequestStateChange(3)
2. Per riavviare Windows da remoto, utilizzare il seguente comando:
(gwmi -ComputerName "SYSNAME" -Namespace root\dcim\sysman DCIM_ComputerSystem | Where-
Object {$_.Dedicated -ne 28}).RequestStateChange(11)
Come ottenere il valore dell'intervallo di tempo da remoto su un
sistema Windows
Per ottenere da remoto il valore dell'intervallo di tempo del sistema operativo Windows, è possibile utilizzare il metodo ManageTime. Per
esempio:
Nell'interfaccia della riga di comando, eseguire le seguenti operazioni:
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
Uso di Dell Command | Monitor 10.2.1