File tree Expand file tree Collapse file tree 2 files changed +18
-24
lines changed Expand file tree Collapse file tree 2 files changed +18
-24
lines changed Original file line number Diff line number Diff line change @@ -23,27 +23,25 @@ Test-AzStackHCIConnection verifies connectivity from on-premises clustered nodes
23
23
## EXAMPLES
24
24
25
25
### EXAMPLE 1
26
- ```
27
- Invoking on one of the cluster node. Success case.
28
- ```
29
-
26
+ ``` powershell
30
27
C:\PS\>Test-AzStackHCIConnection
31
28
Test: Connect to Azure Stack HCI Service
32
29
EndpointTested: https://azurestackhci-df.azurefd.net/health
33
30
IsRequired: True
34
31
Result: Succeeded
35
-
36
- ### EXAMPLE 2
37
- ```
38
- Invoking on one of the cluster node. Failed case.
39
32
```
33
+ Invoking on one of the cluster node. Success case.
40
34
35
+ ### EXAMPLE 2
36
+ ``` powershell
41
37
C:\PS\>Test-AzStackHCIConnection
42
38
Test: Connect to Azure Stack HCI Service
43
39
EndpointTested: https://azurestackhci-df.azurefd.net/health
44
40
IsRequired: True
45
41
Result: Failed
46
42
FailedNodes: Node1inClus2, Node2inClus3
43
+ ```
44
+ Invoking on one of the cluster node. Failed case.
47
45
48
46
## PARAMETERS
49
47
Original file line number Diff line number Diff line change @@ -27,36 +27,32 @@ The registered information available on the cluster is used to unregister the cl
27
27
## EXAMPLES
28
28
29
29
### EXAMPLE 1
30
- ```
31
- Invoking on one of the cluster node
32
- ```
33
-
30
+ ``` powershell
34
31
C:\PS\>Unregister-AzStackHCI
35
32
Result: Success
36
-
37
- ### EXAMPLE 2
38
- ```
39
- Invoking from the management node
40
33
```
34
+ Invoking on one of the cluster node
41
35
36
+ ### EXAMPLE 2
37
+ ``` powershell
42
38
C:\PS\>Unregister-AzStackHCI -ComputerName ClusterNode1
43
39
Result: Success
44
-
45
- ### EXAMPLE 3
46
- ```
47
- Invoking from WAC
48
40
```
41
+ Invoking from the management node
49
42
43
+ ### EXAMPLE 3
44
+ ``` powershell
50
45
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
51
46
Result: Success
52
-
53
- ### EXAMPLE 4
54
- ```
55
- Invoking with all the parameters
56
47
```
48
+ Invoking from WAC
57
49
50
+ ### EXAMPLE 4
51
+ ``` powershell
58
52
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
59
53
Result: Success
54
+ ```
55
+ Invoking with all the parameters
60
56
61
57
## PARAMETERS
62
58
You can’t perform that action at this time.
0 commit comments