Skip to content

Fix doc syntax in StackHCI #14146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions src/StackHCI/help/Test-AzStackHCIConnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,25 @@ Test-AzStackHCIConnection verifies connectivity from on-premises clustered nodes
## EXAMPLES

### EXAMPLE 1
```
Invoking on one of the cluster node. Success case.
```

```powershell
C:\PS\>Test-AzStackHCIConnection
Test: Connect to Azure Stack HCI Service
EndpointTested: https://azurestackhci-df.azurefd.net/health
IsRequired: True
Result: Succeeded

### EXAMPLE 2
```
Invoking on one of the cluster node. Failed case.
```
Invoking on one of the cluster node. Success case.

### EXAMPLE 2
```powershell
C:\PS\>Test-AzStackHCIConnection
Test: Connect to Azure Stack HCI Service
EndpointTested: https://azurestackhci-df.azurefd.net/health
IsRequired: True
Result: Failed
FailedNodes: Node1inClus2, Node2inClus3
```
Invoking on one of the cluster node. Failed case.

## PARAMETERS

Expand Down
28 changes: 12 additions & 16 deletions src/StackHCI/help/Unregister-AzStackHCI.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,36 +27,32 @@ The registered information available on the cluster is used to unregister the cl
## EXAMPLES

### EXAMPLE 1
```
Invoking on one of the cluster node
```

```powershell
C:\PS\>Unregister-AzStackHCI
Result: Success

### EXAMPLE 2
```
Invoking from the management node
```
Invoking on one of the cluster node

### EXAMPLE 2
```powershell
C:\PS\>Unregister-AzStackHCI -ComputerName ClusterNode1
Result: Success

### EXAMPLE 3
```
Invoking from WAC
```
Invoking from the management node

### EXAMPLE 3
```powershell
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
Result: Success

### EXAMPLE 4
```
Invoking with all the parameters
```
Invoking from WAC

### EXAMPLE 4
```powershell
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
Result: Success
```
Invoking with all the parameters

## PARAMETERS

Expand Down