Skip to content

Commit 0f8f13b

Browse files
authored
Merge pull request #8102 from daniel-hamngren/patch-2
Replace en-dash with hyphen in powershell code
2 parents 1059c5a + 3e44722 commit 0f8f13b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

WindowsServerDocs/failover-clustering/create-workgroup-cluster.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ A consistent administrator user account must be created on each node. The userna
9292

9393
1. If the nonbuiltin administrator account isn't used, then you need to set the LocalAccountTokenFilterPolicy in the registry. The policy can be done in PowerShell with the following command:
9494
```PowerShell
95-
New-itemproperty -path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System Name LocalAccountTokenFilterPolicy -Value 1​
95+
New-itemproperty -path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name LocalAccountTokenFilterPolicy -Value 1​
9696
```
9797
9898
---
@@ -176,7 +176,7 @@ The following steps show how to install the Failover Clustering feature in Power
176176
177177
1. Run the PowerShell command:
178178
```PowerShell
179-
Install-WindowsFeature Name Failover-Clustering IncludeManagementTools
179+
Install-WindowsFeature -Name Failover-Clustering -IncludeManagementTools
180180
```
181181
182182
1. Once the installation process is done, verify installation was successful by running these commands:
@@ -265,7 +265,7 @@ If you prefer to create a workgroup cluster using PowerShell, follow these steps
265265
266266
1. After validation passes, create the workgroup cluster using the following command:
267267
```PowerShell
268-
New-Cluster Name MyCluster -Node server1, server2 -AdministrativeAccessPoint DNS
268+
New-Cluster -Name MyCluster -Node server1, server2 -AdministrativeAccessPoint DNS
269269
```
270270
271271
1. After the cluster is successfully created, you can do things such as verify cluster [quorum configuration](/azure/azure-local/concepts/quorum?context=/windows-server/context/windows-server-failover-clustering), [create clustered roles](/windows-server/failover-clustering/create-failover-cluster#create-clustered-roles), and optionally, create [Cluster Shared Volumes (CSV)](failover-cluster-csvs.md).

0 commit comments

Comments
 (0)