Get-PowerCLIConfiguration
This cmdlet retrieves the VMware PowerCLI proxy configuration and default servers policy.
Syntax
[-Scope
<ConfigurationScope>]
[CommonParameters]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional |
|
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.
PowerCLIVersion
This cmdlet retrieves the versions of the installed PowerCLI snapins.