@@ -42,16 +42,9 @@ Set-SRGroup [[-ComputerName] <String>] [-Name] <String> [-Force] [[-LogSizeInByt
42
42
43
43
## DESCRIPTION
44
44
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.
55
48
56
49
## EXAMPLES
57
50
@@ -61,16 +54,16 @@ A replication group is the container for replication.
61
54
Set-SRGroup -Name "ReplicationGroup01" -AddVolumeName "F:"
62
55
```
63
56
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.
66
59
67
60
### Example 2: Remove a volume from a replication group
68
61
69
62
``` powershell
70
63
Set-SRGroup -Name "ReplicationGroup01" -RemoveVolumeName "F:"
71
64
```
72
65
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
74
67
local computer.
75
68
76
69
### Example 3: Resize volumes in a replication group
@@ -79,10 +72,11 @@ local computer.
79
72
Set-SRGroup -Name "ReplicationGroup01" -AllowVolumeResize $True
80
73
```
81
74
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.
86
80
87
81
## PARAMETERS
88
82
@@ -142,9 +136,9 @@ Accept wildcard characters: False
142
136
### -CimSession
143
137
144
138
Runs 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.
148
142
149
143
` ` ` yaml
150
144
Type : CimSession[]
@@ -160,12 +154,7 @@ Accept wildcard characters: False
160
154
161
155
### -Compression
162
156
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.
169
158
170
159
` ` ` yaml
171
160
Type : Boolean
@@ -196,22 +185,6 @@ Accept pipeline input: True (ByPropertyName)
196
185
Accept wildcard characters : False
197
186
` ` `
198
187
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
-
215
188
### -Description
216
189
217
190
Specifies a description for the replication group.
@@ -334,8 +307,8 @@ values for this parameter are:
334
307
source server, which allows for replication over high latency, geographic networks.
335
308
336
309
The 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.
339
312
340
313
` ` ` yaml
341
314
Type: ReplicationMode
@@ -370,10 +343,25 @@ Accept pipeline input: False
370
343
Accept wildcard characters: False
371
344
` ` `
372
345
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
+
373
362
# ## -WhatIf
374
363
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.
377
365
378
366
` ` ` yaml
379
367
Type: SwitchParameter
@@ -392,14 +380,12 @@ Accept wildcard characters: False
392
380
This cmdlet supports the common parameters : -Debug, -ErrorAction, -ErrorVariable,
393
381
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
394
382
-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 ).
396
384
397
385
# # INPUTS
398
386
399
387
# ## System.String
400
388
401
- # ## System.String[]
402
-
403
389
# ## System.UInt64
404
390
405
391
# ## Microsoft.PowerShell.Cmdletization.GeneratedTypes.SREnum.ReplicationMode
@@ -414,14 +400,14 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
414
400
415
401
# # RELATED LINKS
416
402
417
- [Get-SRGroup](./ Get-SRGroup.md)
403
+ [Get-SRGroup](Get-SRGroup.md)
418
404
419
- [New-SRGroup](./ New-SRGroup.md)
405
+ [New-SRGroup](New-SRGroup.md)
420
406
421
- [Remove-SRGroup](./ Remove-SRGroup.md)
407
+ [Remove-SRGroup](Remove-SRGroup.md)
422
408
423
- [Set-SRPartnership](./ Set-SRPartnership.md)
409
+ [Set-SRPartnership](Set-SRPartnership.md)
424
410
425
- [Suspend-SRGroup](./ Suspend-SRGroup.md)
411
+ [Suspend-SRGroup](Suspend-SRGroup.md)
426
412
427
- [Sync-SRGroup](./ Sync-SRGroup.md)
413
+ [Sync-SRGroup](Sync-SRGroup.md)
0 commit comments