Skip to content

Commit fd25fdd

Browse files
author
Stephen Tramer
committed
Update Uninstall-AzureRM docs to include cmdlet link
1 parent 83d385e commit fd25fdd

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

docs-conceptual/azps-1.5.0/uninstall-az-ps.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ $versions[1..($versions.Length-1)] | foreach { Uninstall-AllModules -TargetModu
117117

118118
## Uninstall the AzureRM module
119119

120-
If you have the Az module installed on your system and would like to uninstall AzureRM, there are two simple options that
121-
don't require running the `Uninstall-AllModules` script above. Which method you follow depends on how you installed AzureRM.
122-
If you're not sure, check the steps for uninstalling an MSI first.
120+
If you have the Az module installed on your system and would like to uninstall AzureRM, there are two options that
121+
don't require running the `Uninstall-AllModules` script above. Which method you follow depends on how you installed the AzureRM module.
122+
If you're not sure, follow the steps for uninstalling an MSI first.
123123

124124
### Uninstall Azure PowerShell MSI
125125

@@ -131,14 +131,16 @@ system rather than PowerShell.
131131
| Windows 10 | Start > Settings > Apps |
132132
| Windows 7 </br>Windows 8 | Start > Control Panel > Programs > Uninstall a program |
133133

134-
Once on this screen you should see __Azure PowerShell__ in the program listing. This is the app to uninstall.
134+
Once on this screen you should see __Azure PowerShell__ in the program listing. This is the app to uninstall. If you don't see this program listed, then
135+
you installed through PowerShellGet, and should follow the next set of instructions.
135136

136137
### Uninstall from PowerShell
137138

138-
If you installed AzureRM from PowerShellGet, then you can remove the modules with the new `Uninstall-AzureRM` command. This removes _all_ AzureRM modules from your machine, but requires administrator privileges.
139+
If you installed AzureRM with PowerShellGet, then you can remove the modules with the [Uninstall-AzureRM](/powershell/module/az.accounts/uninstall-azurerm) command, available as
140+
part of the `Az.Accounts` module. This removes _all_ AzureRM modules from your machine, but requires administrator privileges.
139141

140142
```powershell-interactive
141143
Uninstall-AzureRm
142144
```
143145

144-
If you can't successfully run the `Uninstall-AzureRM` command, use the `Uninstall-AllModules` script provided in this article instead.
146+
If you can't successfully run the `Uninstall-AzureRM` command, use the `Uninstall-AllModules` script provided in this article instead.

0 commit comments

Comments
 (0)