Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 182662

Re: Configure snmp.xml file on ESXi 5.5 via PowerShell or PowerCLI

$
0
0

To use the Set-VMHostSnmp cmdlet you have to be connected to the ESXi host directly. The following example will connect to an ESXi host named ESX01 and sets SNMP to enabled and a read-only community example-community (Example 1 from the Set-VMHostSnmp help):

 

Connect-VIServer ESX01

$vmhostSNMP = Get-VMHostSNMP

Set-VMHostSNMP $vmhostSNMP -Enabled:$true -ReadOnlyCommunity 'example-community'


Viewing all articles
Browse latest Browse all 182662

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>