vSphere PowerCLI Reference

Get-VMHostAuthentication

Synopsis

Retrieves authentication information for the specified hosts.

Syntax

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

Related Commands

Online version
Set-VMHostAuthentication

Detailed Description

Retrieves authentication information for the specified hosts.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
VMHostVMHost[]Specify the hosts for which you want to retrieve authentication information.falsetrue (ByValue)
ServerVIServer[]Specify the vSphere servers on which you want to run the cmdlet. If no value is given 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

VMHostAuthentication

Notes

Supported only on ESX Server 4.1 and later.

Examples

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

$host | Get-VMHostAuthentication

Retrieve authentication information for the specified host.


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