AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Invoke-AWSLogout-All <SwitchParameter>
| Required? | False |
| Position? | Named |
| Accept pipeline input? | False |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByValue, ByPropertyName) |
Invoke-AWSLogout -ProfileName "aws-login-test-profile"Logs out from a specific profile named "aws-login-test-profile".
Invoke-AWSLogout -AllLogs out from all profiles that use login sessions. This will remove all cached login tokens.
AWS Tools for PowerShell: 2.x.y.z