vSphere PowerCLI Reference

Test-VMHostSnmp

Synopsis

Tests the host SNMP.

Syntax

Test-VMHostSnmp [-HostSnmp] <VmHostSnmp[]> [<CommonParameters>]

Related Commands

Online version
Get-VMHostSNMP
Set-VMHostSNMP

Detailed Description

Tests the host SNMP specified by the HostSNMP parameter.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
HostSnmpVmHostSnmp[]Specify the host SNMP you want to test.truetrue (ByValue)

Return Type

VmHostSnmp

Notes

Examples

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

Test-VMHostSNMP -HostSNMP (Get-VMHostSNMP)

Retrieves and tests the SNMP of the default server.


Copyright © 1998 - 2012 VMware, Inc. All rights reserved.