windows-powershell-docs
windows-powershell-docs copied to clipboard
Fix Example 2.:
In example 2 we have the following:
Set-SRNetworkConstraint -SourceComputerName "Cluster01" -SourceRGName "Group01" -SourceNWInterface "Cluster Network 1","Cluster Network 2" -DestinationComputerName "Cluster02" -DestinationRGName "Group02" -DestinationNWInterface "Cluster Network 1","Cluster Network 2"
The "-SourceComputerName" and "-DestinationComputerName" is misleading. A single entity, the cluster's name should be used.
Set-SRNetworkConstraint -SourceComputerName "Cluster01" -SourceRGName "Group01" -SourceNWInterface "Cluster Network 1","Cluster Network 2" -DestinationComputerName "Cluster01" -DestinationRGName "Group02" -DestinationNWInterface "Cluster Network 1","Cluster Network 2"
In the explanation we could mention this, like: This command sets a network constraint for a specific set of cluster networks in a stretch cluster. Source and destination computer names should be the cluster's name and the NWinterfaces should be the cluster network's name.
[Enter feedback here]
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 96fd1fc8-19a9-1ffa-799c-3c6d0b13e909
- Version Independent ID: 5be2ee2d-01b4-cbde-b91c-72ad7ea0c57b
- Content: Set-SRNetworkConstraint (StorageReplica)
- Content Source: docset/winserver2022-ps/storagereplica/Set-SRNetworkConstraint.md
- Product: w10
- Technology: windows
- GitHub Login: @JasonGerend
- Microsoft Alias: jgerend