Users Guide

Gestione locale dei sistemi client Dell tramite
Dell Command | Monitor 10.3
È possibile gestire i sistemi client Dell localmente utilizzando i seguenti metodi:
Per i sistemi su cui è in esecuzione Windows, utilizzando PowerShell
Per i sistemi su cui è in esecuzione Linux, utilizzando OMICLI
Argomenti:
Gestione locale dei sistemi Windows tramite PowerShell
Gestione locale dei sistemi Linux tramite OMICLI
Gestione locale dei sistemi Windows tramite
PowerShell
È possibile gestire localmente i sistemi client Dell su cui è in esecuzione Windows utilizzando i comandi PowerShell.
Enumerazione delle istanze della classe DCIM
Get-CimInstance -Namespace root\dcim\sysman -ClassName DCIM_BIOSEnumeration
Get-CimInstance -Namespace root\dcim\sysman -ClassName DCIM_BIOSPassword
Recupero delle proprietà per un'impostazione del BIOS
Get-CimInstance -Namespace root\dcim\sysman -ClassName DCIM_BIOSEnumeration | Where-Object
{$_.AttributeName -eq "Num Lock"}
Modifica delle impostazioni del BIOS
Get-CimInstance -Namespace root\dcim\sysman -ClassName DCIM_BIOSService | Invoke-CimMethod
-MethodName SetBIOSAttributes -Arguments @{AttributeName=@("Num
Lock");AttributeValue=@("1")}
Modifica di valori non critici
Get-CimInstance -Namespace root\dcim\sysman DCIM_NumericSensor | Where-Object {$_.DeviceID
-like "Root/MainSystemChassis/TemperatureObj:3"} | Set-CimInstance -Property
@{UpperThresholdNonCritical="10"}
Sottoscrizione degli avvisi
$a = 0
$timespan = New-Object System.TimeSpan(0, 0, 1)
$scope = New-Object System.Management.ManagementScope("\\.\root\dcim\sysman")
$query = New-Object System.Management.WQLEventQuery("Select * from DCIM_AlertIndication")
$watcher = New-Object System.Management.ManagementEventWatcher($scope,$query)
[array]$alerts=@()
do{ $watcher.WaitForNextEvent() }
while ($a -ne 1)
Comandi per ottenere il consenso dell'utente dalla WMI:
Get-CimInstance -Namespace root\dcim\sysman -ClassName DCIM_ImprovementProgramConsent
6
Gestione locale dei sistemi client Dell tramite Dell Command | Monitor 10.3 21