Get-PowerCLIContext
This cmdlet retrieves the VMware PowerCLI execution context: the imported VMware PowerCLI modules and their established connections.
Syntax
Output
VMware.VimAutomation.Common.Types.V1.ExecutionContext.PowerCliContext
Examples
Example 1
PS C:\> $context = Get-PowerCLIContext
Creates a variable to retrieve the current VMware PowerCLI context.
Related Commands
PowerCLIContext
This cmdlet retrieves the VMware PowerCLI execution context: the imported VMware PowerCLI modules and their established connections.
This cmdlet applies the VMware PowerCLI execution context: the imported VMware PowerCLI modules and their established connections.