Skip to content

Commit a767c28

Browse files
Apply suggestions from review
1 parent a8b9eb5 commit a767c28

File tree

1 file changed

+31
-19
lines changed

1 file changed

+31
-19
lines changed

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

Lines changed: 31 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ TechNet.
5959

6060
```powershell
6161
$params = @{
62-
Days = Sunday
62+
Days = 'Sunday'
6363
DurationHours = 5
64-
Name = "OffHoursGC"
65-
Priority = Normal
66-
Start = 08:00
67-
Type = GarbageCollection
64+
Name = 'OffHoursGC'
65+
Priority = 'Normal'
66+
Start = '08:00'
67+
Type = 'GarbageCollection'
6868
}
6969
New-DedupSchedule @params
7070
```
@@ -79,13 +79,19 @@ process has not ended.
7979

8080
```powershell
8181
$params = @{
82-
Days = Monday,Tuesday,Wednesday,Thursday,Friday
83-
DurationHours = 6
84-
Name = "OffHoursScrub"
85-
Priority = Normal
86-
Start = 23:00
82+
Days = @(
83+
'Monday'
84+
'Tuesday'
85+
'Wednesday'
86+
'Thursday'
87+
'Friday'
88+
)
89+
DurationHours = 6
90+
Name = 'OffHoursScrub'
91+
Priority = 'Normal'
92+
Start = '23:00'
8793
StopWhenSystemBusy = $true
88-
Type = Scrubbing
94+
Type = 'Scrubbing'
8995
}
9096
New-DedupSchedule @params
9197
```
@@ -100,11 +106,17 @@ and retries later. The **DurationHours** parameter specifies that the server can
100106

101107
```powershell
102108
$params = @{
103-
Days = Mon,Tues,Wed,Thurs,Fri
109+
Days = @(
110+
'Mon'
111+
'Tues'
112+
'Wed'
113+
'Thurs'
114+
'Fri'
115+
)
104116
DurationHours = 9
105-
Name = "MyWeekdayOptimization"
106-
Start = 08:00
107-
Type = Optimization
117+
Name = 'MyWeekdayOptimization'
118+
Start = '08:00'
119+
Type = 'Optimization'
108120
}
109121
New-DedupSchedule @params
110122
```
@@ -223,7 +235,7 @@ Accept wildcard characters: False
223235

224236
### -DurationHours
225237

226-
Specifies the number of hours that the server runs the task before canceling it. The value 0
238+
Specifies the number of hours that the server runs the task before canceling it. The value `0`
227239
indicates that the server runs the job to completion. This cmdlet safely stops a data deduplication
228240
job and does not affect the files that the server is processing when it cancels the job.
229241

@@ -385,8 +397,8 @@ Accept wildcard characters: False
385397
### -Start
386398

387399
Specifies a time to start this job. The default value is 1:45am.
388-
Type the date in a format that is standard for the system locale, such as dd-MM-yyyy (German
389-
\[Germany\]) or MM/dd/yyyy (English \[United States\]).
400+
Type the date in a format that is standard for the system locale, such as `dd-MM-yyyy` (German
401+
\[Germany\]) or `MM/dd/yyyy` (English \[United States\]).
390402

391403
```yaml
392404
Type: System.DateTime
@@ -484,7 +496,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
484496

485497
### Microsoft.Management.Infrastructure.CimInstance
486498

487-
The `Microsoft.Management.Infrastructure.CimInstance` object is a wrapper class that displays
499+
The **Microsoft.Management.Infrastructure.CimInstance** object is a wrapper class that displays
488500
Windows Management Instrumentation (WMI) objects. The path after the pound sign (`#`) provides the
489501
namespace and class name for the underlying WMI object.
490502

0 commit comments

Comments
 (0)