Posts Tagged ‘cli’

Per the user guide

http://www.apc.com/salestools/PMAR-8P9G2C/PMAR-8P9G2C_R2_EN.pdf

The below commands help you change the alerts on a UPS Network Management Card 2 using SSH , cannot be done via Web Interface 

cfgpower -all ( Show all applicable power parameters for this UPS. ) 

cfgpower -l ( 97–106 Set the low transfer point, in VAC. ) 

cfgpower -h (127–136 Set the high transfer point, in VAC.)

cfgpowerov (100 | 120 | 110 |) – Set the outlet voltage, in VAC.

cfgpower -s Normal | Reduced | Low ) – Set the sensitivity, using one of the three arguments.

cfgpower -bu (127 | 130 | 133 |136 | 139 | 142 |145 | 148 ) – Set the bypass upper voltage in VAC; when the voltage rises above this value, the device goes into bypass. )

cfgpower -bl (086 | 088 | 090 | 092 | 094 | 096 | 098 | 100 ) – Set the bypass lower voltage in VAC; when the voltage drops below this value, the device goes into bypass. )

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Powershell script to list machines running  the out of date e1000 Adapter in Windows so you can update them to VMXnet3 !

Get-VM |
 
Where{(Get-NetworkAdapter -VM $_ | where{$_.Type -eq 'e1000'}) -and (Get-VMguest -VM $_ | Where-Object {$_.OSFullName -like "*Windows Server*"})} |
 
Select Name,@{N='vCenter';E={$_.Uid.Split('@')[1].Split(':')[0]}}

 

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)