Skip to content

Commit eaf74e6

Browse files
authored
Fix example doc syntax (#14146)
1 parent 069bfa5 commit eaf74e6

File tree

2 files changed

+18
-24
lines changed

2 files changed

+18
-24
lines changed

src/StackHCI/help/Test-AzStackHCIConnection.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,25 @@ Test-AzStackHCIConnection verifies connectivity from on-premises clustered nodes
2323
## EXAMPLES
2424

2525
### EXAMPLE 1
26-
```
27-
Invoking on one of the cluster node. Success case.
28-
```
29-
26+
```powershell
3027
C:\PS\>Test-AzStackHCIConnection
3128
Test: Connect to Azure Stack HCI Service
3229
EndpointTested: https://azurestackhci-df.azurefd.net/health
3330
IsRequired: True
3431
Result: Succeeded
35-
36-
### EXAMPLE 2
37-
```
38-
Invoking on one of the cluster node. Failed case.
3932
```
33+
Invoking on one of the cluster node. Success case.
4034

35+
### EXAMPLE 2
36+
```powershell
4137
C:\PS\>Test-AzStackHCIConnection
4238
Test: Connect to Azure Stack HCI Service
4339
EndpointTested: https://azurestackhci-df.azurefd.net/health
4440
IsRequired: True
4541
Result: Failed
4642
FailedNodes: Node1inClus2, Node2inClus3
43+
```
44+
Invoking on one of the cluster node. Failed case.
4745

4846
## PARAMETERS
4947

src/StackHCI/help/Unregister-AzStackHCI.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,36 +27,32 @@ The registered information available on the cluster is used to unregister the cl
2727
## EXAMPLES
2828

2929
### EXAMPLE 1
30-
```
31-
Invoking on one of the cluster node
32-
```
33-
30+
```powershell
3431
C:\PS\>Unregister-AzStackHCI
3532
Result: Success
36-
37-
### EXAMPLE 2
38-
```
39-
Invoking from the management node
4033
```
34+
Invoking on one of the cluster node
4135

36+
### EXAMPLE 2
37+
```powershell
4238
C:\PS\>Unregister-AzStackHCI -ComputerName ClusterNode1
4339
Result: Success
44-
45-
### EXAMPLE 3
46-
```
47-
Invoking from WAC
4840
```
41+
Invoking from the management node
4942

43+
### EXAMPLE 3
44+
```powershell
5045
C:\PS\>Unregister-AzStackHCI -SubscriptionId "12a0f531-56cb-4340-9501-257726d741fd" -ArmAccessToken etyer..ere= -GraphAccessToken acyee..rerrer -AccountId [email protected] -ResourceName DemoHCICluster3 -ResourceGroupName DemoHCIRG -Confirm:$False
5146
Result: Success
52-
53-
### EXAMPLE 4
54-
```
55-
Invoking with all the parameters
5647
```
48+
Invoking from WAC
5749

50+
### EXAMPLE 4
51+
```powershell
5852
C:\PS\>Unregister-AzStackHCI -SubscriptionId "12a0f531-56cb-4340-9501-257726d741fd" -ResourceName HciCluster1 -TenantId "c31c0dbb-ce27-4c78-ad26-a5f717c14557" -ResourceGroupName HciClusterRG -ArmAccessToken eerrer..ere= -GraphAccessToken acee..rerrer -AccountId [email protected] -EnvironmentName AzureCloud -ComputerName node1hci -Credential Get-Credential
5953
Result: Success
54+
```
55+
Invoking with all the parameters
6056

6157
## PARAMETERS
6258

0 commit comments

Comments
 (0)