powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-VMHostSnmp



NAME
Get-VMHostSnmp

SYNOPSIS
Retrieves hosts SNMP configuration.

SYNTAX
Get-VMHostSnmp [[-Server] ] []


DESCRIPTION
Retrieves hosts SNMP configuration. To specify a server different from the default one, use the -Server parameter.


PARAMETERS
-Server
Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the co
mmand runs on the default servers. For more information about default servers, see the description of Connect-V
IServer.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
VmHostSnmp


NOTES


Supported only on ESX 3.5 or later.

-------------- Example 1 --------------

C:\PS>Get-VMHostSNMP


Retrieves the host SNMP configuration. Operates on the default server which must be an ESX host.






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-VMHostSnmp.html
Set-VMHostSNMP
Test-VMHostSNMP