Skip to content

Commit e25e70d

Browse files
committed
Format sample output
1 parent 526e9d5 commit e25e70d

File tree

1 file changed

+5
-46
lines changed

1 file changed

+5
-46
lines changed

articles/databox-online/azure-stack-edge-powershell-based-configuration.md

Lines changed: 5 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: alkohli
66
ms.service: databox
77
ms.subservice: edge
88
ms.topic: article
9-
ms.date: 03/15/2023
9+
ms.date: 03/16/2023
1010
ms.author: alkohli
1111
---
1212
# Use a config file to deploy an Azure Stack Edge device
@@ -88,7 +88,7 @@ Use the following steps to import the PowerShell module and sign in to the devic
8888

8989
Use the following steps to sign in to a device, change the password, and fetch the device configuration:
9090

91-
1. Sign in to the device and change the device password.
91+
1. Sign in to the device and specify a new device password.
9292

9393
```azurepowershell
9494
Set-Login "https://<IP address>" "<CurrentPassword>" "<NewPassword>"
@@ -106,12 +106,6 @@ Use the following steps to create a device configuration package in PowerShell a
106106

107107
Run the following cmdlets in PowerShell:
108108

109-
1. Sign in to the device.
110-
111-
```azurepowershell
112-
Set-Login "https://<IP address>" "<Password>"
113-
```
114-
115109
1. Set the `time` object property.
116110

117111
```azurepowershell
@@ -195,12 +189,6 @@ This sequence of PowerShell cmdlets signs in to the device, applies device confi
195189

196190
Run the following cmdlets in PowerShell:
197191

198-
1. Sign in to the device.
199-
200-
```azurepowershell
201-
Set-Login "https://<IP address>" "<Password>"
202-
```
203-
204192
1. Before you run the device configuration operation, ensure that the JSON file uses the `nodeName` of the device to be changed.
205193

206194
> [!NOTE]
@@ -258,6 +246,7 @@ Run the following cmdlets in PowerShell:
258246
```azurepowershell
259247
Get-DeviceConfiguration | To-json
260248
```
249+
261250
### Configure a two-node device
262251

263252
This sequence of PowerShell cmdlets signs in to a two-node device, applies device configuration settings from a JSON file, verifies completion of the operation, and then fetches the new device configuration.
@@ -267,12 +256,6 @@ This sequence of PowerShell cmdlets signs in to a two-node device, applies devic
267256
268257
Run the following cmdlets in PowerShell:
269258

270-
1. Sign in to the device.
271-
272-
```azurepowershell
273-
Set-Login "https://<IP address>" "<Password>"
274-
```
275-
276259
1. Before you run the device configuration operation, ensure that the JSON file uses the `nodeName` of the device to be changed.
277260

278261
> [!NOTE]
@@ -644,12 +627,6 @@ Use the following steps to activate an Azure Stack Edge device. Note that activa
644627
645628
1. Retrieve the `ActivationKey` for your device. For detailed steps, see [Create a management resource, and Get the activation key](azure-stack-edge-gpu-deploy-prep.md#create-a-management-resource-for-each-device).
646629
647-
1. Sign in to the device.
648-
649-
```azurepowershell
650-
Set-Login "https://<IP address>" "Password"
651-
```
652-
653630
1. Set the `ActivationKey` property.
654631
655632
```azurepowershell
@@ -761,12 +738,6 @@ Use the following steps to activate an Azure Stack Edge device. Note that activa
761738

762739
Use the following steps to sign in to the device, fetch the status of the `WebProxy` properties, set the `WebProxy` property to “isEnabled = true” and set the `WebProxy` URI, and then fetch the status of the changed `WebProxy` properties. After running the package, verify the new device configuration.
763740

764-
1. Sign in to the device.
765-
766-
```azurepowershell
767-
Set-Login "https://<IP address>" "Password"
768-
```
769-
770741
1. Load the device configuration cmdlet.
771742

772743
```azurepowershell
@@ -852,12 +823,6 @@ Proactive log collection gathers system health indicators on your Azure Stack Ed
852823

853824
Use the following steps to fetch the current setting and then enable or disable proactive logging for your device.
854825

855-
1. Sign in to the device.
856-
857-
```azurepowershell
858-
Set-Login "https://<IP address>" "Password"
859-
```
860-
861826
1. Fetch the device configuration.
862827

863828
```azurepowershell
@@ -894,12 +859,6 @@ To diagnose and troubleshoot any device errors, you can run the diagnostics test
894859

895860
Use the following steps to sign in to the device and run device diagnostics to verify status after you apply a device configuration package.
896861

897-
1. Sign in to the device.
898-
899-
```azurepowershell
900-
Set-Login "https://<IP address>" "Password"
901-
```
902-
903862
1. Run device diagnostics.
904863

905864
```azurepowershell
@@ -1162,7 +1121,7 @@ You can set either an Azure Consistent Services or a Network File System configu
11621121
```azurepowershell
11631122
Get-DeviceVip | to-json
11641123
```
1165-
Here is sample output:
1124+
Here's sample output:
11661125
11671126
```Output
11681127
{
@@ -1192,7 +1151,7 @@ You can set either an Azure Consistent Services or a Network File System configu
11921151
"dhcpEnabled": false
11931152
}
11941153
]
1195-
}
1154+
}
11961155
PS C:\>
11971156
```
11981157

0 commit comments

Comments
 (0)