Get-Session
SYNOPSIS​
Get the active Cumulocity Session
SYNTAX​
Get-Session
[[-Session] <String>]
[-Show]
[<CommonParameters>]
DESCRIPTION​
Get the details about the active Cumulocity session which is used by all cmdlets
EXAMPLES​
EXAMPLE 1​
Get-Session
Get the current Cumulocity session
EXAMPLE 2​
Get-Session -Show
Print the current session information (if set)
PARAMETERS​
-Session​
Specify alternative Cumulocity session to use when running the cmdlet
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Show​
Only print the session information
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters​
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS​
OUTPUTS​
None​
NOTES​
RELATED LINKS​
https://reubenmiller.github.io/go-c8y-cli/docs/cli/c8y/sessions_get