Skip to content

Commit 760232e

Browse files
committed
Updated sample output for device activation
1 parent 4a707eb commit 760232e

File tree

1 file changed

+55
-4
lines changed

1 file changed

+55
-4
lines changed

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

Lines changed: 55 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,56 @@ Use the following steps to activate an Azure Stack Edge device. Note that activa
672672
Get-DeviceConfigurationStatus | To-json
673673
```
674674

675+
Here's sample output:
676+
677+
```output
678+
679+
PS C:\> Get-DeviceConfigurationStatus | to-json
680+
{
681+
"deviceConfiguration": {
682+
"status": "Complete",
683+
"results": [
684+
{
685+
"declarationName": "Network",
686+
"resultCode": "Success",
687+
"errorCode": "None",
688+
"message": null
689+
},
690+
{
691+
"declarationName": "Activation",
692+
"resultCode": "Success",
693+
"errorCode": "None",
694+
"message": null
695+
},
696+
{
697+
"declarationName": "DeviceEndpoint",
698+
"resultCode": "Success",
699+
"errorCode": "None",
700+
"message": null
701+
},
702+
{
703+
"declarationName": "WebProxy",
704+
"resultCode": "Success",
705+
"errorCode": "None",
706+
"message": null
707+
},
708+
{
709+
"declarationName": "Time",
710+
"resultCode": "NotExecuted",
711+
"errorCode": "None",
712+
"message": ""
713+
},
714+
{
715+
"declarationName": "Update",
716+
"resultCode": "NotExecuted",
717+
"errorCode": "None",
718+
"message": ""
719+
}
720+
]
721+
}
722+
}
723+
```
724+
675725
1. After the operation is complete, fetch the new device configuration.
676726

677727
```azurepowershell
@@ -696,7 +746,8 @@ Use the following steps to activate an Azure Stack Edge device. Note that activa
696746
}
697747
]
698748
},
699-
749+
}
750+
}
700751
```
701752

702753
## Quickly fetch or change device configuration settings
@@ -721,7 +772,7 @@ Use the following steps to sign in to the device, fetch the status of the `WebPr
721772
$p.device.webproxy
722773
```
723774

724-
Here's a sample output:
775+
Here's sample output:
725776

726777
```output
727778
PS C:\> $p.device.webproxy
@@ -776,7 +827,7 @@ Use the following steps to sign in to the device, fetch the status of the `WebPr
776827
Get-DeviceConfiguration | To-json
777828
```
778829

779-
Here's an example of output:
830+
Here's sample output:
780831

781832
```output
782833
"webProxy": {
@@ -854,7 +905,7 @@ Use the following steps to sign in to the device and run device diagnostics to v
854905
Get-DeviceDiagnostic | To-json
855906
```
856907

857-
Here's an example output:
908+
Here's sample output:
858909

859910
```output
860911
PS C:\> Get-DeviceDiagnostic | To-json

0 commit comments

Comments
 (0)