You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
123
123
124
124
### Uninstall Azure PowerShell MSI
125
125
@@ -131,14 +131,16 @@ system rather than PowerShell.
131
131
| Windows 10 | Start > Settings > Apps |
132
132
| Windows 7 </br>Windows 8 | Start > Control Panel > Programs > Uninstall a program |
133
133
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.
135
136
136
137
### Uninstall from PowerShell
137
138
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.
139
141
140
142
```powershell-interactive
141
143
Uninstall-AzureRm
142
144
```
143
145
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