PowerCLI Reference

Test-VMHostSnmp

Synopsis

This cmdlet tests the host SNMP.

Syntax

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

Related Commands

Online version
Get-VMHostSNMP
Set-VMHostSNMP

Detailed Description

This cmdlet tests the host SNMP specified by the HostSNMP parameter.

Parameters

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

Return Type

Zero or more VmHostSnmp objects

Notes

Examples

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

Test-VMHostSNMP -HostSNMP (Get-VMHostSNMP)

Retrieves and tests the SNMP of the default server.


Copyright © VMware, Inc. All rights reserved.