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
Copy file name to clipboardExpand all lines: docs-conceptual/azurermps-6.12.0/install-az-ps.md
+5-7Lines changed: 5 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,7 @@ ms.date: 10/29/2018
11
11
12
12
# Install Azure PowerShell with PowerShellGet
13
13
14
-
This article explains the steps to install the Azure PowerShell modules using PowerShellGet. For the preview release of Az,
15
-
no other install methods are supported.
14
+
This article tells you how to install the Azure PowerShell modules using PowerShellGet. For the preview release of Az, no other install methods are supported.
16
15
17
16
## Requirements
18
17
@@ -23,8 +22,8 @@ on your machine, run the following command:
23
22
$PSVersionTable.PSVersion
24
23
```
25
24
26
-
If you have an outdated version or need to install PowerShell, see [Installing various versions of PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-powershell?view=powershell-6) and click on the link for
27
-
your platform.
25
+
If you have an outdated version or need to install PowerShell, see [Installing various versions of PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-powershell?view=powershell-6). Install
26
+
information for your platform is linked from that page.
28
27
29
28
## Install the Azure PowerShell module
30
29
@@ -34,8 +33,7 @@ your platform.
34
33
> the `Az` module, `AzureRM` must be uninstalled. For instructions on how to do that, see
35
34
> [Uninstall the Azure PowerShell module (AzureRM)](uninstall-azurerm-ps.md).
36
35
37
-
To install modules at a global scope, you need elevated privileges to install modules from the PowerShell Gallery. To install Azure PowerShell,
38
-
run the following command in an elevated session ("Run as Administrator" on Windows, or with superuser privileges on macOS or Linux):
36
+
To install modules at a global scope, you need elevated privileges to install modules from the PowerShell Gallery. To install Azure PowerShell, run the following command in an elevated session ("Run as Administrator" on Windows, or with superuser privileges on macOS or Linux):
In the case of `Azure.Storage` and `Azure.AnalysisServices`, the associated cmdlets have also been renamed
77
-
so that `Azure` is replaced with `Az`. For example, `Get-AzureStorageBlob` has been renamed to `Get-AzStorageBlob`.
78
-
79
72
## Summary
80
73
81
-
By following these steps, you can update all of your existing scripts to use the new module without a lot of pain or difficulty.
82
-
If you have any questions or encountered problems with these steps that made your migration difficult, please comment on this article
83
-
so that we can improve the instructions.
74
+
By following these steps, you can update all of your existing scripts to use the new module. If you have any questions or problems with these steps that made your migration difficult, please comment on this article so that we can improve the instructions.
description: Introducing the new Azure PowerShell module Az, the replacement for the AzureRM module.
4
-
ms.date: 10/22/2018
4
+
ms.date: 11/07/2018
5
5
author: sptramer
6
6
ms.author: sttramer
7
7
ms.manager: carmonm
@@ -14,11 +14,12 @@ Starting in November 2018, the Azure PowerShell `Az` module is available for ful
14
14
Az offers shorter commands, improved stability, and supports Windows, macOS, and Linux. Az also offers
15
15
feature parity and an easy migration path from AzureRM.
16
16
17
-
Az is built on the .NET Standard library, which means that it runs under both PowerShell 5.x on
18
-
Windows and PowerShell Core on any platform. Using .NET Standard allows us to unify the code base of Azure
19
-
PowerShell with minimal impact on users.
17
+
Az uses the .NET Standard library, which means it runs on PowerShell 5.x and PowerShell 6.x.
18
+
Since PowerShell 6.x can run on Linux, macOS, and Windows, that means Az is available for all platforms.
19
+
Using .NET Standard allows us to unify the code base of Azure PowerShell with minimal impact on users.
20
20
21
-
This is a new module, so the version has been reset. The first stable release will be 1.0.
21
+
Az is a new module, so the version has been reset. The first stable release will be 1.0, but the module
22
+
has feature parity with AzureRm as of November 2018.
22
23
23
24
## Upgrade to Az
24
25
@@ -30,19 +31,17 @@ It's recommended that users upgrade to the new `Az` module. To do so:
30
31
31
32
## Migrate existing scripts to Az
32
33
33
-
Major updates like this can be inconvenient. However, the `Az` module has a compatibility mode to
34
+
Major updates can be inconvenient. However, the `Az` module has a compatibility mode to
34
35
help you use existing scripts while you work on updates to the new syntax. Use the
35
36
`Enable-AzureRmAlias` cmdlet to enable the `AzureRM` compatibility mode. This cmdlet defines
36
37
`AzureRM` cmdlet names as aliases for the new `Az` cmdlet names.
37
38
38
-
The new cmdlet names have also been designed to be easy to learn. Instead of using `AzureRm` or `Azure` in cmdlet names,
39
-
use `Az`. For most cmdlets, this should be the only change required. For example, the old command `New-AzureRmVm`
40
-
has become `New-AzVm`.
39
+
The new cmdlet names have been designed to be easy to learn. Instead of using `AzureRm` or `Azure`
40
+
in cmdlet names, use `Az`. For example, the old command `New-AzureRmVm` has become `New-AzVm`.
41
41
42
42
For a full description of the migration process, see [Migrate from AzureRM to Az](migrate-from-azurerm-to-az.md).
43
43
44
44
## The future of support for AzureRM
45
45
46
-
The existing `AzureRM` module will no longer recieve new cmdlets or features when `Az` version 1.0 is released
47
-
in December 2018. However, `AzureRM` is still officially maintained and will get bug fixes. To keep up with the latest
48
-
Azure services and features, you should switch to the `Az` module as soon as possible.
46
+
The existing `AzureRM` module will no longer receive new cmdlets or features when `Az` version 1.0 is released
47
+
in December 2018. However, `AzureRM` is still officially maintained and will get bug fixes. To keep up with the latest Azure services and features, you should switch to the `Az` module.
0 commit comments