Server Management - Systems Insight Manager
1830622 Members
2259 Online
110015 Solutions
New Discussion

Switching between SNMP and WBEM for SMH

 
Steve Shockley_2
New Member

Switching between SNMP and WBEM for SMH

You can use this PowerShell command to change a remote server from using WBEM to SNMP for SMH.

Invoke-WmiMethod -ComputerName "servername" -Path "HPSMHConf.WebApp=2" -Name select -argumentlist "1" -Namespace "root\hpq\default"

I haven't tested it yet, but going from SNMP to WBEM should be:

Invoke-WmiMethod -ComputerName "servername" -Path "HPSMHConf.WebApp=1" -Name select -argumentlist "2" -Namespace "root\hpq\default"

No service restart seems to be necessary.

Hope this helps someone.
1 REPLY 1
NJK-Work
Honored Contributor

Re: Switching between SNMP and WBEM for SMH

Cool. Thank for the tip!

Nelson