@@ -42,16 +42,9 @@ Set-SRGroup [[-ComputerName] <String>] [-Name] <String> [-Force] [[-LogSizeInByt
4242
4343## DESCRIPTION
4444
45- The ` Set-SRGroup ` cmdlet modifies settings of an existing replication group.
46- A replication group contains one or more data volumes and an associated log volume.
47- A replication group is the container for replication.
48-
49- > [ !NOTE]
50- > The ** Compression** parameter is only available in
51- > [ Azure Stack HCI version 22H2] ( https://azure.microsoft.com/updates/public-preview-azure-stack-hci-version-22h2/ ) or later,
52- > and Windows Server Datacenter: Azure Edition beginning with the 2022-09 Cumulative Update for Microsoft
53- > server operating system version 21H2 for x64-based Systems
54- > ([ KB5017381] ( https://support.microsoft.com/help/5017381 ) ).
45+ The ` Set-SRGroup ` cmdlet modifies settings of an existing replication group. A replication group
46+ contains one or more data volumes and an associated log volume. A replication group is the
47+ container for replication.
5548
5649## EXAMPLES
5750
@@ -61,16 +54,16 @@ A replication group is the container for replication.
6154Set-SRGroup -Name "ReplicationGroup01" -AddVolumeName "F:"
6255```
6356
64- This command adds the F: volume to the existing replication group named ReplicationGroup01 on the
65- local computer.
57+ This command adds the ` F: ` volume to the existing replication group named ` ReplicationGroup01 ` on
58+ the local computer.
6659
6760### Example 2: Remove a volume from a replication group
6861
6962``` powershell
7063Set-SRGroup -Name "ReplicationGroup01" -RemoveVolumeName "F:"
7164```
7265
73- This command removes the F: volume from the existing replication group ReplicationGroup01 on the
66+ This command removes the ` F: ` volume from the existing replication group ` ReplicationGroup01 ` on the
7467local computer.
7568
7669### Example 3: Resize volumes in a replication group
@@ -79,10 +72,11 @@ local computer.
7972Set-SRGroup -Name "ReplicationGroup01" -AllowVolumeResize $True
8073```
8174
82- This command lets you resize volumes in the replication group named ReplicationGroup01 on the local
83- computer. By default, the Storage Replica driver prevents volume resizes in order to protect from
84- block mismatches. To grow a volume, enable the allow volume resize mode on both resource groups,
85- increase the size of the volume on both servers to be the same size, then disable this mode.
75+ This command lets you resize volumes in the replication group named ` ReplicationGroup01 ` on the
76+ local computer. By default, the Storage Replica driver prevents volume resizes in order to protect
77+ from block mismatches. To grow a volume, enable the allow volume resize mode on both resource
78+ groups, increase the size of the volume on both servers to be the same size, then disable this
79+ mode.
8680
8781## PARAMETERS
8882
@@ -142,9 +136,9 @@ Accept wildcard characters: False
142136### -CimSession
143137
144138Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session
145- object, such as the output of a [New-CimSession](https://go.microsoft.com/fwlink/p/?LinkId=227967)
146- or [Get-CimSession](https://go.microsoft.com/fwlink/p/?LinkId=227966 ) cmdlet. The default is the
147- current session on the local computer.
139+ object, such as the output of a [New-CimSession](/powershell/module/cimcmdlets/new-cimsession) or
140+ [Get-CimSession](/powershell/module/cimcmdlets/get-cimsession ) cmdlet. The default is the current
141+ session on the local computer.
148142
149143` ` ` yaml
150144Type : CimSession[]
@@ -160,12 +154,7 @@ Accept wildcard characters: False
160154
161155### -Compression
162156
163- Indicates that this Storage Replica group should use SMB compression for data transfer. This
164- parameter only applies to
165- [Azure Stack HCI version 22H2](https://azure.microsoft.com/updates/public-preview-azure-stack-hci-version-22h2/)
166- or later, and Windows Server Datacenter: Azure Edition beginning with the 2022-09 Cumulative
167- Update for Microsoft server operating system version 21H2 for x64-based Systems
168- ([KB5017381](https://support.microsoft.com/help/5017381)).
157+ Indicates that this Storage Replica group should use SMB compression for data transfer.
169158
170159` ` ` yaml
171160Type : Boolean
@@ -196,22 +185,6 @@ Accept pipeline input: True (ByPropertyName)
196185Accept wildcard characters : False
197186` ` `
198187
199- ### -Confirm
200-
201- Prompts you for confirmation before running the cmdlet.
202-
203- ` ` ` yaml
204- Type : SwitchParameter
205- Parameter Sets : (All)
206- Aliases : cf
207-
208- Required : False
209- Position : Named
210- Default value : False
211- Accept pipeline input : False
212- Accept wildcard characters : False
213- ` ` `
214-
215188### -Description
216189
217190Specifies a description for the replication group.
@@ -334,8 +307,8 @@ values for this parameter are:
334307 source server, which allows for replication over high latency, geographic networks.
335308
336309The default value is synchronous. The default asynchronous recovery point alert time is 5 minutes.
337- You can modify it by using the `Set-SRPartnership` cmdlet. The alert time has no effect on replication
338- behavior, only on reporting.
310+ You can modify it by using the `Set-SRPartnership` cmdlet. The alert time has no effect on
311+ replication behavior, only on reporting.
339312
340313` ` ` yaml
341314Type: ReplicationMode
@@ -370,10 +343,25 @@ Accept pipeline input: False
370343Accept wildcard characters: False
371344` ` `
372345
346+ # ## -Confirm
347+
348+ Prompts you for confirmation before running the cmdlet.
349+
350+ ` ` ` yaml
351+ Type: SwitchParameter
352+ Parameter Sets: (All)
353+ Aliases: cf
354+
355+ Required: False
356+ Position: Named
357+ Default value: False
358+ Accept pipeline input: False
359+ Accept wildcard characters: False
360+ ` ` `
361+
373362# ## -WhatIf
374363
375- Shows what would happen if the cmdlet runs.
376- The cmdlet is not run.
364+ Shows what would happen if the cmdlet runs. The cmdlet is not run.
377365
378366` ` ` yaml
379367Type: SwitchParameter
@@ -392,14 +380,12 @@ Accept wildcard characters: False
392380This cmdlet supports the common parameters : -Debug, -ErrorAction, -ErrorVariable,
393381-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
394382-WarningAction, and -WarningVariable. For more information, see
395- [about_CommonParameters](https://go. microsoft.com/fwlink/?LinkID=113216 ).
383+ [about_CommonParameters](/powershell/module/ microsoft.powershell.core/about/about_commonparameters ).
396384
397385# # INPUTS
398386
399387# ## System.String
400388
401- # ## System.String[]
402-
403389# ## System.UInt64
404390
405391# ## Microsoft.PowerShell.Cmdletization.GeneratedTypes.SREnum.ReplicationMode
@@ -414,14 +400,14 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
414400
415401# # RELATED LINKS
416402
417- [Get-SRGroup](./ Get-SRGroup.md)
403+ [Get-SRGroup](Get-SRGroup.md)
418404
419- [New-SRGroup](./ New-SRGroup.md)
405+ [New-SRGroup](New-SRGroup.md)
420406
421- [Remove-SRGroup](./ Remove-SRGroup.md)
407+ [Remove-SRGroup](Remove-SRGroup.md)
422408
423- [Set-SRPartnership](./ Set-SRPartnership.md)
409+ [Set-SRPartnership](Set-SRPartnership.md)
424410
425- [Suspend-SRGroup](./ Suspend-SRGroup.md)
411+ [Suspend-SRGroup](Suspend-SRGroup.md)
426412
427- [Sync-SRGroup](./ Sync-SRGroup.md)
413+ [Sync-SRGroup](Sync-SRGroup.md)
0 commit comments