PowerCLI Reference

Get-PowerCLIConfiguration

Synopsis

This cmdlet retrieves the VMware PowerCLI proxy configuration and default servers policy.

Syntax

Get-PowerCLIConfiguration [-Scope <ConfigurationScope>] [<CommonParameters>]

Related Commands

Online version
Set-PowerCLIConfiguration

Detailed Description

This cmdlet retrieves the VMware PowerCLI proxy configuration and default servers policy.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ScopeConfigurationScopeSpecifies a scope to filter VMware PowerCLI settings by. The parameter accepts Session, User, and All Users values.falsefalse

Return Type

One or more PowerCLIConfiguration objects

Notes

Examples

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

Get-PowerCLIConfiguration

Retrieves information about the VMware PowerCLI configuration for every scope.

-------------- Example 2 --------------

Get-PowerCLIConfiguration -Scope User

Retrieves information about the VMware PowerCLI configuration for the User scope.

-------------- Example 3 --------------

Get-PowerCLIConfiguration -Scope ([VMware.VimAutomation.ViCore.Types.V1.ConfigurationScope]::Session -bor [VMware.VimAutomation.ViCore.Types.V1.ConfigurationScope]::User)

Retrieves information about the VMware PowerCLI configuration for the User and Session scopes.


Copyright © VMware, Inc. All rights reserved.