Skip to content

Commit 66b6970

Browse files
authored
Merge pull request #3535 from MicrosoftDocs/main
3/19/2025 PM Publish
2 parents a15babf + 0a6d30e commit 66b6970

File tree

1 file changed

+52
-42
lines changed

1 file changed

+52
-42
lines changed

docs-conceptual/azps-13.3.0/install-azps-windows.md

Lines changed: 52 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
description: Learn how to install and run Azure PowerShell on Windows. You can install Azure PowerShell on Windows with one command.
2+
description: Learn how to install and run Azure PowerShell on Windows to manage your Azure resources with PowerShell. Step-by-step guide for seamless installation and updates.
33
ms.custom: devx-track-azurepowershell
44
ms.devlang: powershell
55
ms.service: azure-powershell
66
ms.topic: conceptual
7-
title: Install Azure PowerShell on Windows | Microsoft Docs
7+
title: Install Azure PowerShell on Windows
88
zone_pivot_group_filename: azure/zone-pivot-groups.json
99
zone_pivot_groups: install-azps-windows
1010
---
@@ -22,7 +22,7 @@ The recommended installation method and PowerShell version for the Az PowerShell
2222
::: zone pivot="windows-psgallery"
2323

2424
This article explains how to install the Az PowerShell module on Windows from the
25-
[PowerShell Gallery](/powershell/scripting/gallery/overview).
25+
[PowerShell Gallery][powershell-gallery].
2626

2727
## Prerequisites
2828

@@ -40,26 +40,24 @@ This article explains how to install the Az PowerShell module on Windows from th
4040

4141
> [!IMPORTANT]
4242
> If you have the AzureRM PowerShell module installed, see
43-
> [Az and AzureRM coexistence](troubleshooting.md#az-and-azurerm-coexistence) before proceeding.
43+
> [Az and AzureRM coexistence][azurerm-coexistence] before proceeding.
4444
4545
# [PowerShell 7](#tab/powershell)
4646

47-
- Install a supported version of
48-
[PowerShell version 7 or higher](/powershell/scripting/install/installing-powershell-on-windows)
47+
- Install a supported version of [PowerShell version 7 or higher][install-pwsh]
4948

5049
# [Windows PowerShell](#tab/windowspowershell)
5150

52-
- Update to
53-
[Windows PowerShell 5.1](/powershell/scripting/windows-powershell/install/installing-windows-powershell#upgrading-existing-windows-powershell)
54-
- Install [.NET Framework 4.7.2 or later](/dotnet/framework/install)
51+
- Update to [Windows PowerShell 5.1][update-powershell51]
52+
- Install [.NET Framework 4.7.2 or later][install-dotnet]
5553
- Update PowerShellGet
5654

57-
Launch Windows PowerShell 5.1 elevated as an administrator and run the following command to
58-
update PowerShellGet:
55+
Launch Windows PowerShell 5.1 elevated as an administrator and run the following command to update
56+
PowerShellGet:
5957

60-
```powershell
61-
Install-Module -Name PowerShellGet -Force
62-
```
58+
```powershell
59+
Install-Module -Name PowerShellGet -Force
60+
```
6361

6462
---
6563

@@ -78,21 +76,19 @@ This article explains how to install the Az PowerShell module on Windows from th
7876
```
7977
8078
For more information about execution policies, see
81-
[about_Execution_Policies](/powershell/module/microsoft.powershell.core/about/about_execution_policies).
79+
[about_Execution_Policies][execution-policies].
8280
8381
## Installation
8482
85-
Use the [Install-Module](/powershell/module/powershellget/install-module) cmdlet to install the Az
86-
PowerShell module:
83+
Use the [Install-Module][install-module] cmdlet to install the Az PowerShell module:
8784
8885
```powershell
8986
Install-Module -Name Az -Repository PSGallery -Force
9087
```
9188

9289
## Update the Az PowerShell module
9390

94-
Use [Update-Module](/powershell/module/powershellget/update-module) to update to the latest version
95-
of the Az PowerShell module:
91+
Use [Update-Module][update-module] to update to the latest version of the Az PowerShell module:
9692

9793
```powershell
9894
Update-Module -Name Az -Force
@@ -103,15 +99,14 @@ PowerShell module from your system.
10399

104100
## Uninstallation
105101

106-
To remove the Az PowerShell module, see
107-
[Uninstall the Azure PowerShell module](uninstall-az-ps.md).
102+
To remove the Az PowerShell module, see [Uninstall the Azure PowerShell module][uninstall-azps].
108103

109104
::: zone-end
110105

111106
::: zone pivot="windows-msi"
112107

113108
This article explains how to install the Az PowerShell module on Windows using an MSI installer. The
114-
MSI installer is provided for environments where the PowerShell Gallery may be blocked by a
109+
MSI installer is provided for environments where the PowerShell Gallery might be blocked by a
115110
firewall, or an offline installer is needed.
116111

117112
> [!IMPORTANT]
@@ -134,11 +129,10 @@ firewall, or an offline installer is needed.
134129

135130
> [!IMPORTANT]
136131
> If you have the AzureRM PowerShell module installed, see
137-
> [Az and AzureRM coexistence](troubleshooting.md#az-and-azurerm-coexistence) before proceeding.
132+
> [Az and AzureRM coexistence][azurerm-coexistence] before proceeding.
138133
139-
- Update to
140-
[Windows PowerShell 5.1](/powershell/scripting/windows-powershell/install/installing-windows-powershell#upgrading-existing-windows-powershell)
141-
- Install [.NET Framework 4.7.2 or later](/dotnet/framework/install)
134+
- Update to [Windows PowerShell 5.1][update-powershell51]
135+
- Install [.NET Framework 4.7.2 or later][install-dotnet]
142136

143137
- Set the PowerShell script execution to remote signed or less restrictive
144138

@@ -155,19 +149,19 @@ firewall, or an offline installer is needed.
155149
```
156150
157151
For more information about execution policies, see
158-
[about_Execution_Policies](/powershell/module/microsoft.powershell.core/about/about_execution_policies).
152+
[about_Execution_Policies][execution-poliicies].
159153
160154
## Installation and update
161155
162-
The MSI package for Azure PowerShell is available from
163-
[GitHub](https://github.com/Azure/azure-powershell/releases):
156+
The MSI package for Azure PowerShell is available from [GitHub][azps-github]:
164157
165158
1. Visit
166-
[github.com/Azure/azure-powershell/releases](https://github.com/Azure/azure-powershell/releases)
167-
1. Locate the most recent Az PowerShell module. They are listed chronologically with no name. For example, `9.5.0`
168-
1. Scroll down to the end of the patch notes and click the arrow next to "Assets" to reveal the
169-
MSI options.
170-
1. Click on the Az-Cmdlets MSI of your choice to start the download
159+
[github.com/Azure/azure-powershell/releases][azps-github-releases]
160+
1. Locate the most recent Az PowerShell module. They're listed chronologically with no name. For
161+
example, `13.3.0`
162+
1. Scroll down to the end of the patch notes and select the arrow next to "Assets" to reveal the MSI
163+
options.
164+
1. Select the Az-Cmdlets MSI of your choice to start the download
171165
172166
The installer automatically removes older versions of the Az PowerShell module that were installed
173167
using an MSI. The MSI package installs modules in `"${env:ProgramFiles}\WindowsPowerShell\Modules"`
@@ -185,24 +179,40 @@ Connect-AzAccount
185179

186180
Use your Azure account login credentials to log into the browser window that opens.
187181

188-
You'll need to repeat this step for every new PowerShell session you start. To learn how to persist
182+
You need to repeat this step for every new PowerShell session you start. To learn how to persist
189183
your Azure sign-in across PowerShell sessions, see
190-
[Azure PowerShell context objects](context-persistence.md).
184+
[Azure PowerShell context objects][context-persistence].
191185

192186
## Troubleshooting
193187

194188
For solutions to common installation issues with the Az PowerShell module, see
195-
[Troubleshoot installation problems with the Az PowerShell module](troubleshooting.md#installation).
189+
[Troubleshoot installation problems with the Az PowerShell module][troubleshoot-install].
196190

197191
## Provide feedback
198192

199-
To file an issue about the Az PowerShell module, see:
200-
[file an issue on GitHub](https://github.com/Azure/azure-powershell/issues)
193+
To file an issue about the Az PowerShell module, see: [File an issue on GitHub][report-issue]
201194

202-
To provide feedback from within a PowerShell session, use the
203-
[Send-Feedback](/powershell/module/az.accounts/send-feedback) cmdlet.
195+
To provide feedback from within a PowerShell session, use the [Send-Feedback][send-feedback] cmdlet.
204196

205197
## Next Steps
206198

207199
To learn more about managing your Azure resources with the Az PowerShell module, see
208-
[Get Started with Azure PowerShell](get-started-azureps.md).
200+
[Get Started with Azure PowerShell][get-started].
201+
202+
<!-- link references -->
203+
204+
[powershell-gallery]: /powershell/scripting/gallery/overview
205+
[azurerm-coexistence]: troubleshooting.md#az-and-azurerm-coexistence
206+
[install-pwsh]: /powershell/scripting/install/installing-powershell-on-windows
207+
[update-powershell51]: /powershell/scripting/windows-powershell/install/installing-windows-powershell#upgrading-existing-windows-powershell
208+
[install-dotnet]: /dotnet/framework/install
209+
[execution-policies]: /powershell/module/microsoft.powershell.core/about/about_execution_policies
210+
[install-module]: /powershell/module/powershellget/install-module
211+
[update-module]: /powershell/module/powershellget/update-module
212+
[uninstall-azps]: uninstall-az-ps.md
213+
[azps-github-releases]: https://github.com/Azure/azure-powershell/releases
214+
[context-persistence]: context-persistence.md
215+
[troubleshoot-install]: troubleshooting.md#installation
216+
[report-issue]: https://github.com/Azure/azure-powershell/issues
217+
[send-feedback]: /powershell/module/az.accounts/send-feedback
218+
[get-started]: get-started-azureps.md

0 commit comments

Comments
 (0)