Get-PowerCLIConfiguration Command | Vmware PowerCLI Reference

Get-PowerCLIConfiguration

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

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
optional Scope ConfigurationScope named
Specifies a scope to filter VMware PowerCLI settings by. The parameter accepts Session, User, and All Users values.

Output

VMware.VimAutomation.ViCore.Types.V1.PowerCLIConfiguration

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.

Related Commands

PowerCLIConfiguration

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

This cmdlet modifies the VMware PowerCLI configuration.

PowerCLIContext

This cmdlet retrieves the VMware PowerCLI execution context which you can use to simplify the use of PowerCLI in PowerShell runspaces.

This cmdlet initializes a PowerShell runspace with a PowerCLI execution context retrieved from another PowerShell runspace.

PowerCLIVersion

This cmdlet retrieves the versions of the installed PowerCLI snapins.