Get-DCContext
Synopsis
Get the current context or all available contexts
Syntax
__AllParameterSets
Get-DCContext [-ListAvailable] [<CommonParameters>]Description
If ListAvailable provided, list all PSHubContext set in PowerShell session. If ListAvailable not provided, get the current PSHubContext who will be used for all other Devolutions Cloud commands.
Examples
Example 1
PS C:\> Get-DCContextObtain the current context
Example 2
PS C:\> Get-DCContext -ListAvailableObtain the available contexts
Parameters
-ListAvailable
List all Devolutions Cloud context
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Notes
For more information, type "Get-Help Get-DCContext -detailed". For technical information, type "Get-Help Get-DCContext -full".
Last updated
Was this helpful?