Skip to content

Commit bad6df9

Browse files
authored
Merge pull request MicrosoftDocs#1506 from MicrosoftDocs/CI
Ci
2 parents 84544b2 + 2715368 commit bad6df9

File tree

3,680 files changed

+774581
-10
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,680 files changed

+774581
-10
lines changed

azps-4.5.0/Az.Accounts/Add-AzEnvironment.md

Lines changed: 727 additions & 0 deletions
Large diffs are not rendered by default.

azps-4.5.0/Az.Accounts/Az.Accounts.md

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
---
2+
Module Name: Az.Accounts
3+
Module Guid: 342714fc-4009-4863-8afb-a9067e3db04b
4+
Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.accounts
5+
Help Version: 4.6.0.0
6+
Locale: en-US
7+
content_git_url: https://github.com/Azure/azure-powershell/blob/master/src/Accounts/Accounts/help/Az.Accounts.md
8+
original_content_git_url: https://github.com/Azure/azure-powershell/blob/master/src/Accounts/Accounts/help/Az.Accounts.md
9+
---
10+
11+
# Az.Accounts Module
12+
## Description
13+
Manages credentials and common configuration for all Azure modules.
14+
15+
## Az.Accounts Cmdlets
16+
### [Add-AzEnvironment](Add-AzEnvironment.md)
17+
Adds endpoints and metadata for an instance of Azure Resource Manager.
18+
19+
### [Clear-AzContext](Clear-AzContext.md)
20+
Remove all Azure credentials, account, and subscription information.
21+
22+
### [Clear-AzDefault](Clear-AzDefault.md)
23+
Clears the defaults set by the user in the current context.
24+
25+
### [Connect-AzAccount](Connect-AzAccount.md)
26+
Connect to Azure with an authenticated account for use with cmdlets from the Az PowerShell modules.
27+
28+
### [Disable-AzContextAutosave](Disable-AzContextAutosave.md)
29+
Turn off autosaving Azure credentials. Your login information will be forgotten the next time you open a PowerShell window
30+
31+
### [Disable-AzDataCollection](Disable-AzDataCollection.md)
32+
Opts out of collecting data to improve the Azure PowerShell cmdlets. Data is collected by default
33+
unless you explicitly opt out.
34+
35+
### [Disable-AzureRmAlias](Disable-AzureRmAlias.md)
36+
Disables AzureRm prefix aliases for Az modules.
37+
38+
### [Disconnect-AzAccount](Disconnect-AzAccount.md)
39+
Disconnects a connected Azure account and removes all credentials and contexts associated with that account.
40+
41+
### [Enable-AzContextAutosave](Enable-AzContextAutosave.md)
42+
Allow the azure credential, account and subscription information to be saved and automatically loaded when you open a PowerShell window.
43+
44+
### [Enable-AzDataCollection](Enable-AzDataCollection.md)
45+
Enables Azure PowerShell to collect data to improve the user experience with the Azure PowerShell
46+
cmdlets. Executing this cmdlet opts in to data collection for the current user on the current
47+
machine. Data is collected by default unless you explicitly opt out.
48+
49+
### [Enable-AzureRmAlias](Enable-AzureRmAlias.md)
50+
Enables AzureRm prefix aliases for Az modules.
51+
52+
### [Get-AzContext](Get-AzContext.md)
53+
Gets the metadata used to authenticate Azure Resource Manager requests.
54+
55+
### [Get-AzContextAutosaveSetting](Get-AzContextAutosaveSetting.md)
56+
Display metadata about the context autosave feature, including whether the context is
57+
automatically saved, and where saved context and credential information can be found.
58+
59+
### [Get-AzDefault](Get-AzDefault.md)
60+
Get the defaults set by the user in the current context.
61+
62+
### [Get-AzEnvironment](Get-AzEnvironment.md)
63+
Get endpoints and metadata for an instance of Azure services.
64+
65+
### [Get-AzProfile](Get-AzProfile.md)
66+
Get the service profiles supported by installed modules.
67+
68+
### [Get-AzSubscription](Get-AzSubscription.md)
69+
Get subscriptions that the current account can access.
70+
71+
### [Get-AzTenant](Get-AzTenant.md)
72+
Gets tenants that are authorized for the current user.
73+
74+
### [Import-AzContext](Import-AzContext.md)
75+
Loads Azure authentication information from a file.
76+
77+
### [Invoke-AzRestMethod](Invoke-AzRestMethod.md)
78+
Construct and perform HTTP request to Azure resource management endpoint only
79+
80+
### [Register-AzModule](Register-AzModule.md)
81+
FOR INTERNAL USE ONLY - Provide Runtime Support for AutoRest Generated cmdlets
82+
83+
### [Remove-AzContext](Remove-AzContext.md)
84+
Remove a context from the set of available contexts
85+
86+
### [Remove-AzEnvironment](Remove-AzEnvironment.md)
87+
Removes endpoints and metadata for connecting to a given Azure instance.
88+
89+
### [Rename-AzContext](Rename-AzContext.md)
90+
Rename an Azure context. By default contexts are named by user account and subscription.
91+
92+
### [Resolve-AzError](Resolve-AzError.md)
93+
Display detailed information about PowerShell errors, with extended details for Azure PowerShell errors.
94+
95+
### [Save-AzContext](Save-AzContext.md)
96+
Saves the current authentication information for use in other PowerShell sessions.
97+
98+
### [Select-AzContext](Select-AzContext.md)
99+
Select a subscription and account to target in Azure PowerShell cmdlets
100+
101+
### [Select-AzProfile](Select-AzProfile.md)
102+
For modules that support multiple service profiles - load the cmdlets corresponding with the given service profile.
103+
104+
### [Send-Feedback](Send-Feedback.md)
105+
Sends feedback to the Azure PowerShell team via a set of guided prompts.
106+
107+
### [Set-AzContext](Set-AzContext.md)
108+
Sets the tenant, subscription, and environment for cmdlets to use in the current session.
109+
110+
### [Set-AzDefault](Set-AzDefault.md)
111+
Sets a default in the current context
112+
113+
### [Set-AzEnvironment](Set-AzEnvironment.md)
114+
Sets properties for an Azure environment.
115+
116+
### [Uninstall-AzureRm](Uninstall-AzureRm.md)
117+
Removes all AzureRm modules from a machine.
118+
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
---
2+
external help file: Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll-Help.xml
3+
Module Name: Az.Accounts
4+
online version: https://docs.microsoft.com/en-us/powershell/module/az.accounts/clear-azcontext
5+
schema: 2.0.0
6+
content_git_url: https://github.com/Azure/azure-powershell/blob/master/src/Accounts/Accounts/help/Clear-AzContext.md
7+
original_content_git_url: https://github.com/Azure/azure-powershell/blob/master/src/Accounts/Accounts/help/Clear-AzContext.md
8+
---
9+
10+
# Clear-AzContext
11+
12+
## SYNOPSIS
13+
Remove all Azure credentials, account, and subscription information.
14+
15+
## SYNTAX
16+
17+
```
18+
Clear-AzContext [-PassThru] [-Force] [-Scope <ContextModificationScope>]
19+
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
20+
```
21+
22+
## DESCRIPTION
23+
Remove all Azure Credentials, account, and subscription information.
24+
25+
## EXAMPLES
26+
27+
### Example 1: Clear global context
28+
```powershell
29+
PS C:\> Clear-AzContext -Scope CurrentUser
30+
```
31+
32+
Remove all account, subscription, and credential information for any powershell session.
33+
34+
## PARAMETERS
35+
36+
### -DefaultProfile
37+
The credentials, tenant and subscription used for communication with azure
38+
39+
```yaml
40+
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
41+
Parameter Sets: (All)
42+
Aliases: AzContext, AzureRmContext, AzureCredential
43+
44+
Required: False
45+
Position: Named
46+
Default value: None
47+
Accept pipeline input: False
48+
Accept wildcard characters: False
49+
```
50+
51+
### -Force
52+
Delete all users and groups from the global scope without prompting
53+
54+
```yaml
55+
Type: System.Management.Automation.SwitchParameter
56+
Parameter Sets: (All)
57+
Aliases:
58+
59+
Required: False
60+
Position: Named
61+
Default value: None
62+
Accept pipeline input: False
63+
Accept wildcard characters: False
64+
```
65+
66+
### -PassThru
67+
Return a value indicating success or failure
68+
69+
```yaml
70+
Type: System.Management.Automation.SwitchParameter
71+
Parameter Sets: (All)
72+
Aliases:
73+
74+
Required: False
75+
Position: Named
76+
Default value: None
77+
Accept pipeline input: False
78+
Accept wildcard characters: False
79+
```
80+
81+
### -Scope
82+
Clear the context only for the current PowerShell session, or for all sessions.
83+
84+
```yaml
85+
Type: Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
86+
Parameter Sets: (All)
87+
Aliases:
88+
Accepted values: Process, CurrentUser
89+
90+
Required: False
91+
Position: Named
92+
Default value: None
93+
Accept pipeline input: False
94+
Accept wildcard characters: False
95+
```
96+
97+
### -Confirm
98+
Prompts you for confirmation before running the cmdlet.
99+
100+
```yaml
101+
Type: System.Management.Automation.SwitchParameter
102+
Parameter Sets: (All)
103+
Aliases: cf
104+
105+
Required: False
106+
Position: Named
107+
Default value: None
108+
Accept pipeline input: False
109+
Accept wildcard characters: False
110+
```
111+
112+
### -WhatIf
113+
Shows what would happen if the cmdlet runs.
114+
The cmdlet is not run.
115+
116+
```yaml
117+
Type: System.Management.Automation.SwitchParameter
118+
Parameter Sets: (All)
119+
Aliases: wi
120+
121+
Required: False
122+
Position: Named
123+
Default value: None
124+
Accept pipeline input: False
125+
Accept wildcard characters: False
126+
```
127+
128+
### CommonParameters
129+
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).
130+
131+
## INPUTS
132+
133+
### None
134+
135+
## OUTPUTS
136+
137+
### System.Boolean
138+
139+
## NOTES
140+
141+
## RELATED LINKS

0 commit comments

Comments
 (0)