< Back
Switch-AWSProfile
Post
NAME Switch-AWSProfile
SYNOPSIS
Displays an interactive menu for choosing an AWS CLI profile.
SYNTAX
Switch-AWSProfile [[-ProfileName] <String>] [-Persist] [<CommonParameters>]
DESCRIPTION
Uses the following keys for navigation of the menu.
[ Move up the list
] Move down the list
\\ Set your profile to the currently selected one
- Clear your profile
= Cancel with no changes
Additionally, you can press any number key to select the profile
indicated by that key.
PARAMETERS
-ProfileName <String>
When provided, skips the menu and directly sets the profile name.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Persist [<SwitchParameter>]
Save the updated profile into the user's environment variables so that it persists
across PowerShell restarts.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS
https://www.github.com/jonscheiding/posh-awsprofile
SYNOPSIS
Displays an interactive menu for choosing an AWS CLI profile.
SYNTAX
Switch-AWSProfile [[-ProfileName] <String>] [-Persist] [<CommonParameters>]
DESCRIPTION
Uses the following keys for navigation of the menu.
[ Move up the list
] Move down the list
\\ Set your profile to the currently selected one
- Clear your profile
= Cancel with no changes
Additionally, you can press any number key to select the profile
indicated by that key.
PARAMETERS
-ProfileName <String>
When provided, skips the menu and directly sets the profile name.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Persist [<SwitchParameter>]
Save the updated profile into the user's environment variables so that it persists
across PowerShell restarts.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS
https://www.github.com/jonscheiding/posh-awsprofile