## 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

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
HostSnmp | VmHostSnmp[] | Specifies the host SNMP you want to test. | true | true (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.