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: articles/azure-stack/azure-stack-registration.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ Before registering Azure Stack with Azure, you must have:
55
55
56
56
### PowerShell language mode
57
57
58
-
To successfully register Azure Stack, the PowerShell language mode must be set to **FullLanguageMode**. To verify that the current language mode is set to full, open an elevated PowerShell window and run the following PowerShell commands:
58
+
To successfully register Azure Stack, the PowerShell language mode must be set to **FullLanguageMode**. To verify that the current language mode is set to full, open an elevated PowerShell window and run the following PowerShell cmdlts:
59
59
60
60
```PowerShell
61
61
$ExecutionContext.SessionState.LanguageMode
@@ -99,7 +99,7 @@ Use these steps to register Azure Stack with Azure using the pay-as-you-use bill
99
99
100
100
Connected environments can access the internet and Azure. For these environments, you need to register the Azure Stack resource provider with Azure and then configure your billing model.
101
101
102
-
1. To register the Azure Stack resource provider with Azure, start PowerShell ISE as an administrator and use the following PowerShell commands with the **EnvironmentName** parameter set to the appropriate Azure subscription type (see parameters below).
102
+
1. To register the Azure Stack resource provider with Azure, start PowerShell ISE as an administrator and use the following PowerShell cmdlts with the **EnvironmentName** parameter set to the appropriate Azure subscription type (see parameters below).
103
103
104
104
2. Add the Azure account that you use to register Azure Stack. To add the account, run the **Add-AzureRmAccount** cmdlet. You are prompted to enter your Azure global administrator account credentials and you may have to use 2-factor authentication based on your account’s configuration.
105
105
@@ -159,7 +159,7 @@ Use these steps to register Azure Stack with Azure using the pay-as-you-use bill
159
159
160
160
Connected environments can access the internet and Azure. For these environments, you need to register the Azure Stack resource provider with Azure and then configure your billing model.
161
161
162
-
1. To register the Azure Stack resource provider with Azure, start PowerShell ISE as an administrator and use the following PowerShell commands with the **EnvironmentName** parameter set to the appropriate Azure subscription type (see parameters below).
162
+
1. To register the Azure Stack resource provider with Azure, start PowerShell ISE as an administrator and use the following PowerShell cmdlts with the **EnvironmentName** parameter set to the appropriate Azure subscription type (see parameters below).
163
163
164
164
2. Add the Azure account that you use to register Azure Stack. To add the account, run the **Add-AzureRmAccount** cmdlet. You are prompted to enter your Azure global administrator account credentials and you may have to use 2-factor authentication based on your account’s configuration.
165
165
@@ -212,7 +212,7 @@ If you are registering Azure Stack in a disconnected environment (with no intern
212
212
Import-Module .\RegisterWithAzure.psm1
213
213
```
214
214
215
-
2. To get the registration token, run the following PowerShell commands:
215
+
2. To get the registration token, run the following PowerShell cmdlts:
@@ -249,7 +249,7 @@ Optionally, you can use the Get-Content cmdlet to point to a file that contains
249
249
250
250
Next, you need to retrieve an activation key from the registration resource created in Azure during Register-AzsEnvironment.
251
251
252
-
To get the activation key, run the following PowerShell commands:
252
+
To get the activation key, run the following PowerShell cmdlts:
253
253
254
254
```Powershell
255
255
$RegistrationResourceName = "AzureStack-<Cloud Id for the Environment to register>"
@@ -262,7 +262,7 @@ To get the activation key, run the following PowerShell commands:
262
262
263
263
### Create an Activation Resource in Azure Stack
264
264
265
-
Return to the Azure Stack environment with the file or text from the activation key created from Get-AzsActivationKey. Next you will create an activation resource in Azure Stack using that activation key. To create an activation resource, run the following PowerShell commands:
265
+
Return to the Azure Stack environment with the file or text from the activation key created from Get-AzsActivationKey. Next you will create an activation resource in Azure Stack using that activation key. To create an activation resource, run the following PowerShell cmdlts:
266
266
267
267
```Powershell
268
268
$ActivationKey = "<activation key>"
@@ -328,13 +328,13 @@ You’ll need to update or renew your registration in the following circumstance
328
328
329
329
You will first need to remove the activation resource from Azure Stack, and then the registration resource in Azure.
330
330
331
-
To remove the activation resource in Azure Stack, run the following PowerShell commands in your Azure Stack environment:
331
+
To remove the activation resource in Azure Stack, run the following PowerShell cmdlts in your Azure Stack environment:
Next, to remove the registration resource in Azure, ensure you are on an Azure connected computer, sign in to the correct Azure PowerShell context, and run the appropriate PowerShell commands as described below.
337
+
Next, to remove the registration resource in Azure, ensure you are on an Azure connected computer, sign in to the correct Azure PowerShell context, and run the appropriate PowerShell cmdlts as described below.
338
338
339
339
You can use the registration token used to create the resource:
0 commit comments