Skip to content

Commit a70db6a

Browse files
author
TaraMeyer
authored
Merge pull request MicrosoftDocs#556 from sdwheeler/sdw-logincmd
Updating cmdlet names for Add/Remove-AzureRmAccount
2 parents c7d1acc + 8275c88 commit a70db6a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs-conceptual/azurermps-5.7.0/context-persistence.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ Forgets the context that was named 'Contoso2'. You can recreate this context sub
128128
## Removing credentials
129129

130130
You can remove all credentials and associated contexts for a user or service principal using
131-
`Remove-AzureRmAccount` (also known as `Logout-AzureRmAccount`). When executed without parameters,
132-
the `Remove-AzureRmAccount` cmdlet removes all credentials and contexts associated with the User or
131+
`Disconnect-AzureRmAccount` (also known as `Logout-AzureRmAccount`). When executed without parameters,
132+
the `Disconnect-AzureRmAccount` cmdlet removes all credentials and contexts associated with the User or
133133
Service Principal in the current context. You may pass in a Username, Service Principal Name, or
134134
context to target a particular principal.
135135

136136
```powershell
137-
Remove-AzureRmAccount user1@contoso.org
137+
Disconnect-AzureRmAccount user1@contoso.org
138138
```
139139

140140
## Using context scopes
@@ -174,7 +174,7 @@ New cmdlets for managing context
174174
session is required to log in again.
175175
- [Select-AzureRmContext][select] - Select a context as the default. All subsequent cmdlets use the
176176
credentials in this context for authentication.
177-
- [Remove-AzureRmAccount][remove-cred] - Remove all credentials and contexts associated with an
177+
- [Disconnect-AzureRmAccount][remove-cred] - Remove all credentials and contexts associated with an
178178
account.
179179
- [Remove-AzureRmContext][remove-context] - Remove a named context.
180180
- [Rename-AzureRmContext][rename] - Rename an existing context.
@@ -191,11 +191,11 @@ Changes to existing profile cmdlets
191191
[enable]: /powershell/module/azurerm.profile/Enable-AzureRmContextAutosave
192192
[disable]: /powershell/module/azurerm.profile/Disable-AzureRmContextAutosave
193193
[select]: /powershell/module/azurerm.profile/Select-AzureRmContext
194-
[remove-cred]: /powershell/module/azurerm.profile/Remove-AzureRmAccount
194+
[remove-cred]: /powershell/module/azurerm.profile/Disconnect-AzureRmAccount
195195
[remove-context]: /powershell/module/azurerm.profile/Remove-AzureRmContext
196196
[rename]: /powershell/module/azurerm.profile/Rename-AzureRmContext
197197

198198
<!-- Updated cmdlets -->
199-
[login]: /powershell/module/azurerm.profile/Add-AzureRmAccount
199+
[login]: /powershell/module/azurerm.profile/Connect-AzureRmAccount
200200
[import]: /powershell/module/azurerm.profile/Import-AzureRmAccount
201201
[set-context]: /powershell/module/azurerm.profile/Import-AzureRmContext

docs-conceptual/azurermps-5.7.0/install-azurermps-maclinux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ After the import completes, you can test your newly installed and module by atte
6262
Azure using the following command:
6363

6464
```powershell
65-
Login-AzureRmAccount
65+
Connect-AzureRmAccount
6666
```
6767

6868
The above command should prompt you to go to `https://aka.ms/devicelogin` and enter the

0 commit comments

Comments
 (0)