Skip to content

Commit b934f48

Browse files
committed
Review PowerShell
1 parent a398ac0 commit b934f48

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

articles/azure-stack/asdk/asdk-post-deploy.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,17 @@ ms.workload: na
1313
pms.tgt_pltfrm: na
1414
ms.devlang: na
1515
ms.topic: article
16-
ms.date: 05/29/2018
16+
ms.date: 06/04/2018
1717
ms.author: jeffgilb
1818
ms.reviewer: misainat
1919
---
2020

2121
# Post ASDK installation configuration tasks
22-
After [installing the ASDK](asdk-install.md), there are a few recommended post-installation configuration changes be made.
2322

24-
## Install Azure Stack PowerShell
23+
After [installing the Azure Stack Development Kit (ASDK)](asdk-install.md), you will need to make a some recommended post-installation configuration changes.
24+
25+
## Install Azure Stack PowerShell
26+
2527
Azure Stack compatible Azure PowerShell modules are required to work with Azure Stack.
2628

2729
PowerShell commands for Azure Stack are installed through the PowerShell Gallery. To register the PSGallery repository, open an elevated PowerShell session and run the following command:
@@ -32,9 +34,9 @@ Set-PSRepository `
3234
-InstallationPolicy Trusted
3335
```
3436

35-
Azure Stack compatible AzureRM modules are installed through API version profiles. Azure Stack requires the 2017-03-09-profile API version profile, which is available by installing the AzureRM.Bootstrapper module.
36-
37-
You can install the latest Azure Stack PowerShell module with or without internet connectivity to the ASDK host computer:
37+
You can use API version profiles to specify Azure Stack compatible AzureRM modules. API version profiles provide a way to manage version differences between Azure and Azure Stack. An API version profile is a set of AzureRM PowerShell modules with specific API versions. The **AzureRM.Bootstrapper** module that is available through the PowerShell Gallery provides PowerShell cmdlets that are required to work with API version profiles.
38+
39+
You can install the latest Azure Stack PowerShell module with or without Internet connectivity to the ASDK host computer:
3840

3941
> [!IMPORTANT]
4042
> Before installing the required version, make sure that you [uninstall any existing Azure PowerShell modules](.\.\azure-stack-powershell-install.md#uninstall-existing-versions-of-powershell).
@@ -50,11 +52,13 @@ Set-PSRepository `
5052
Use-AzureRmProfile `
5153
-Profile 2017-03-09-profile -Force
5254
53-
Install-Module `
54-
-Name AzureStack `
55-
# If you are not running Azure Stack with update 1804 or greater, change the requiredversion parameter value to 1.2.11.
56-
-RequiredVersion 1.3.0
55+
# Install Module Version 1.3.0 if Azure Stack is running 1804 at a minimum
56+
Install-Module -Name AzureStack -RequiredVersion 1.3.0
57+
58+
# Install Module Version 1.2.11 if Azure Stack is running a lower version than 1804
59+
Install-Module -Name AzureStack -RequiredVersion 1.2.11
5760
```
61+
5862
If the installation is successful, the AzureRM and AzureStack modules are displayed in the output.
5963

6064
- **Without an internet connection** from the ASDK host computer. In a disconnected scenario, you must first download the PowerShell modules to a machine that has internet connectivity using the following PowerShell commands:
@@ -79,9 +83,10 @@ Set-PSRepository `
7983
# If you are not running Azure Stack with update 1804 or greater, change the requiredversion parameter value to 1.2.11.
8084
-RequiredVersion 1.3.0
8185
```
86+
8287
Next, copy the downloaded packages to the ASDK computer and register the location as the default repository and install the AzureRM and AzureStack modules from this repository:
8388

84-
```PowerShell
89+
```PowerShell
8590
$SourceLocation = "<Location on the development kit that contains the PowerShell packages>"
8691
$RepoName = "MyNuGetSource"
8792
@@ -98,6 +103,7 @@ Set-PSRepository `
98103
```
99104
100105
## Download the Azure Stack tools
106+
101107
[AzureStack-Tools](https://github.com/Azure/AzureStack-Tools) is a GitHub repository that hosts PowerShell modules for managing and deploying resources to Azure Stack. To obtain these tools, clone the GitHub repository or download the AzureStack-Tools folder by running the following script:
102108
103109
```PowerShell
@@ -122,7 +128,7 @@ Set-PSRepository `
122128
## Validate the ASDK installation
123129
To ensure that your ASDK deployment was successful, you can use the Test-AzureStack cmdlet by following these steps:
124130

125-
1. Log in as AzureStack\CloudAdmin on the ASDK host computer.
131+
1. Log in as AzureStack\AzureStackAdmin on the ASDK host computer.
126132
2. Open PowerShell as an administrator (not PowerShell ISE).
127133
3. Run: `Enter-PSSession -ComputerName AzS-ERCS01 -ConfigurationName PrivilegedEndpoint`
128134
4. Run: `Test-AzureStack`

0 commit comments

Comments
 (0)