PowerCLI Reference

Get-VMHostAuthentication

Synopsis

This cmdlet retrieves authentication information for the specified hosts.

Syntax

Get-VMHostAuthentication [[-VMHost] <VMHost[]>] [-Server <VIServer[]>] [<CommonParameters>]

Get-VMHostAuthentication -Id <String[]> [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version
Set-VMHostAuthentication

Detailed Description

This cmdlet retrieves authentication information for the specified hosts.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
VMHostVMHost[]Specifies the hosts for which you want to retrieve authentication information.falsetrue (ByValue)
IdString[]Specifies the IDs of the host authentication information that you want to retrieve.

Note: When a list of values is specified for the Id parameter, the returned objects would have an ID that matches exactly one of the string values in that list.
truefalse
ServerVIServer[]Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.falsefalse

Return Type

Zero or more VMHostAuthentication objects

Notes

Supported only on ESX Server 4.1 and later.

Examples

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

$vmhost | Get-VMHostAuthentication

Retrieve authentication information for the specified host.


Copyright © VMware, Inc. All rights reserved.