forked from Badgerati/Pode
-
Notifications
You must be signed in to change notification settings - Fork 0
Get PodeSessionId
mdaneri edited this page Mar 10, 2025
·
1 revision
external help file: Pode-help.xml Module Name: Pode online version: PodeType: Sessions schema: 2.0.0
Returns the currently authenticated SessionId.
Get-PodeSessionId [-Signed] [-Force] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Returns the currently authenticated SessionId. If there's no session, or it's not authenticated, then null is returned instead. You can also have the SessionId returned as signed as well.
$sessionId = Get-PodeSessionId
If supplied, the sessionId will be returned regardless of authentication.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
If supplied, the returned SessionId will also be signed.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
sss
x