//
stai leggendo...
domanda

Refreshing values

un esempio di aggiornamento valori con POWERSHELL e i cmdlet relativi a CIM (powershell v3) che ti permettono di aggiornare valori dei dati nell’oggetto

Richard Siddaway's Blog

The CIM cmdlets in PowerShell v3 enable you to refresh the data in the object.  Try this:

$p = Get-CimInstance -ClassName Win32_PerfFormattedData_PerfOS_Processor
$p | Get-CimInstance | select percentprocessortime

  $p will remain unchanged.  Another use for this is monitoring processes – you could check on CPU utilisation

View original post

Discussione

Non c'è ancora nessun commento.

Lascia un commento