vSphere PowerCLI Reference

Get-VMHostAdvancedConfiguration

Synopsis

Retrieves the advanced configuration of the hosts.

Syntax

Get-VMHostAdvancedConfiguration [[-Name] <String[]>] [-VMHost] <VMHost[]> [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version
Set-VMHostAdvancedConfiguration

Detailed Description

Retrieves the advanced configuration of the hosts. For each of the specified hosts, the cmdlet returns a hash table mapping the names of the settings to the corresponding values.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specify the names of the host configuration settings you want to retrieve.falsefalse
VMHostVMHost[]Specify the hosts for which you want to retrieve the configuration settings.truetrue (ByValue)
ServerVIServer[]Specifies a vSphere server to search for the specified vSphere .NET object. If no value is given to this parameter, the command runs on the server currently specified in the $DefaultVIServer variable.falsetrue (ByValue)

Return Type

System.Collections.Hashtable

Notes

Examples

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

Get-VMHostAdvancedConfiguration -VMHost 10.23.123.100 -Name net*tcp*

Retrieves the virtual machine host advanced configuration settings, whose names contain "net" and "tcp".


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