Skip to content

Latest commit

 

History

History
109 lines (81 loc) · 2.66 KB

Disable-AzureRmContextAutosave.md

File metadata and controls

109 lines (81 loc) · 2.66 KB
external help file Module Name online version schema
Microsoft.Azure.Commands.Profile.dll-Help.xml
AzureRM.Profile
2.0.0

Disable-AzureRmContextAutosave

SYNOPSIS

Turn off autosaving Azure credentials. Your login information will be forgotten the next time you open a PowerShell window

SYNTAX

Disable-AzureRmContextAutosave [-Scope <ContextModificationScope>] [-DefaultProfile <IAzureContextContainer>]
 [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Turn off autosaving Azure credentials. Your login information will be forgotten the next time you open a PowerShell window

EXAMPLES

Disable autosaving the context

PS C:\> Disable-AzureRmContextAutosave

Disable autosave for the current user.

PARAMETERS

-DefaultProfile

The credentials, tenant and subscription used for communication with azure

Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Scope

Determines the scope of context changes, for example, whether changes apply only to the current process, or to all sessions started by this user

Type: Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
Parameter Sets: (All)
Aliases:
Accepted values: Process, CurrentUser

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
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 (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

None

OUTPUTS

Microsoft.Azure.Commands.Common.Authentication.ContextAutosaveSettings

NOTES

RELATED LINKS