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
Write-Error"The Azure Stack environment with the name $EnvironmentName does not exist. Create one with Add-AzureStackAzureRmEnvironment."-ErrorAction Stop
Copy file name to clipboardExpand all lines: ComputeAdmin/README.md
+36-6Lines changed: 36 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,10 +37,16 @@ The New-Server2016VMImage allows you to add a Windows Server 2016 Evaluation VM
37
37
38
38
As a prerequisite, you need to obtain the Windows Server 2016 Evaluation ISO which can be found [here](https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2016).
39
39
40
+
You will need to reference your Azure Stack Administrator environment. To create an administrator environment use the below. The ARM endpoint below is the administrator default for a one-node environment.
Please make sure to specify the correct administrator ARM endpoint for your environment.
46
52
@@ -64,9 +70,15 @@ Please note that to use this image for **installing additional Azure Stack servi
64
70
- Specify osType as Windows or Linux.
65
71
- Include your Azure Active Directory tenant ID in the form *<mydirectory>*.onmicrosoft.com.
66
72
- The following is an example invocation of the script:
67
-
73
+
74
+
You will need to reference your Azure Stack Administrator environment. To create an administrator environment use the below. The ARM endpoint below is the administrator default for a one-node environment.
Note: The cmdlet requests credentials for adding the VM image. Provide the administrator Azure Active Directory credentials, such as *<Admin Account>*@*<mydirectory>*.onmicrosoft.com, to the prompt.
@@ -82,22 +94,40 @@ To verify that the command ran successfully, go to Marketplace in the portal, an
82
94
## Remove a VM Image with PowerShell
83
95
Run the below command to remove an uploaded VM image. After removal, tenants will no longer be able to deploy virtual machines with this image.
84
96
97
+
You will need to reference your Azure Stack Administrator environment. To create an administrator environment use the below. The ARM endpoint below is the administrator default for a one-node environment.
Note: This cmdlet will remove the associated Marketplace item unless the -KeepMarketplaceItem parameter is specified.
90
108
91
109
## Add a VM extension to the Compute with PowerShell
110
+
You will need to reference your Azure Stack Administrator environment. To create an administrator environment use the below. The ARM endpoint below is the administrator default for a one-node environment.
You will need to reference your Azure Stack Administrator environment. To create an administrator environment use the below. The ARM endpoint below is the administrator default for a one-node environment.
0 commit comments