Skip to content

Commit a2f2463

Browse files
Apply suggestions from review
1 parent 47313ed commit a2f2463

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

docset/winserver2022-ps/deduplication/Set-DedupSchedule.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ schedules.
5050

5151
```powershell
5252
$params = @{
53-
Days = Sunday
53+
Days = 'Sunday'
5454
DurationHours = 5
55-
Name = "OffHoursGC"
56-
Priority = Normal
57-
Start = 08:00
58-
Type = GarbageCollection
55+
Name = 'OffHoursGC'
56+
Priority = 'Normal'
57+
Start = '08:00'
58+
Type = 'GarbageCollection'
5959
}
6060
Set-DedupSchedule @params
6161
```
@@ -90,11 +90,17 @@ that the server cancels the job after `6` hours if the process has not ended.
9090

9191
```powershell
9292
$params = @{
93-
Days = Monday,Tuesday,Wednesday,Thursday,Friday
93+
Days = @(
94+
'Monday'
95+
'Tuesday'
96+
'Wednesday'
97+
'Thursday'
98+
'Friday'
99+
)
94100
DurationHours = 9
95-
Name = "MyWeekendOptimization"
96-
Start = 08:00
97-
Type = Optimization
101+
Name = 'MyWeekendOptimization'
102+
Start = '08:00'
103+
Type = 'Optimization'
98104
}
99105
Set-DedupSchedule @params
100106
```
@@ -194,7 +200,7 @@ Accept wildcard characters: False
194200

195201
### -DurationHours
196202

197-
Specifies the number of hours that the server runs the task before canceling it. The value 0
203+
Specifies the number of hours that the server runs the task before canceling it. The value `0`
198204
indicates that the server runs the job to completion. This cmdlet safely stops a data deduplication
199205
job and does not affect the files that the server is processing when it cancels the job.
200206

@@ -405,10 +411,10 @@ Accept wildcard characters: False
405411

406412
### -Start
407413

408-
Specifies a time to start this job. The default value is 1:45am.
414+
Specifies a time to start this job. The default value is `1:45am`.
409415

410-
Type the date in a format that is standard for the system locale, such as dd-MM-yyyy (German
411-
\[Germany\]) or MM/dd/yyyy (English \[United States\]).
416+
Type the date in a format that is standard for the system locale, such as `dd-MM-yyyy` (German
417+
\[Germany\]) or `MM/dd/yyyy` (English \[United States\]).
412418

413419
```yaml
414420
Type: System.DateTime
@@ -501,13 +507,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
501507

502508
### Microsoft.Management.Infrastructure.CimInstance
503509

504-
The `Microsoft.Management.Infrastructure.CimInstance` object is a wrapper class that displays
510+
The **Microsoft.Management.Infrastructure.CimInstance** object is a wrapper class that displays
505511
Windows Management Instrumentation (WMI) objects. The path after the pound sign (`#`) provides the
506512
namespace and class name for the underlying WMI object.
507513

508514
### Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Deduplication/MSFT_DedupJobSchedule
509515

510-
The `Microsoft.Management.Infrastructure.CimInstance` object is a wrapper class that displays
516+
The **Microsoft.Management.Infrastructure.CimInstance** object is a wrapper class that displays
511517
Windows Management Instrumentation (WMI) objects. The path after the pound sign (`#`) provides the
512518
namespace and class name for the underlying WMI object.
513519

0 commit comments

Comments
 (0)