@@ -59,12 +59,12 @@ TechNet.
59
59
60
60
``` powershell
61
61
$params = @{
62
- Days = Sunday
62
+ Days = ' Sunday'
63
63
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'
68
68
}
69
69
New-DedupSchedule @params
70
70
```
@@ -79,13 +79,19 @@ process has not ended.
79
79
80
80
``` powershell
81
81
$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'
87
93
StopWhenSystemBusy = $true
88
- Type = Scrubbing
94
+ Type = ' Scrubbing'
89
95
}
90
96
New-DedupSchedule @params
91
97
```
@@ -100,11 +106,17 @@ and retries later. The **DurationHours** parameter specifies that the server can
100
106
101
107
``` powershell
102
108
$params = @{
103
- Days = Mon,Tues,Wed,Thurs,Fri
109
+ Days = @(
110
+ 'Mon'
111
+ 'Tues'
112
+ 'Wed'
113
+ 'Thurs'
114
+ 'Fri'
115
+ )
104
116
DurationHours = 9
105
- Name = " MyWeekdayOptimization"
106
- Start = 08:00
107
- Type = Optimization
117
+ Name = ' MyWeekdayOptimization'
118
+ Start = ' 08:00'
119
+ Type = ' Optimization'
108
120
}
109
121
New-DedupSchedule @params
110
122
```
@@ -223,7 +235,7 @@ Accept wildcard characters: False
223
235
224
236
# ## -DurationHours
225
237
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`
227
239
indicates that the server runs the job to completion. This cmdlet safely stops a data deduplication
228
240
job and does not affect the files that the server is processing when it cancels the job.
229
241
@@ -385,8 +397,8 @@ Accept wildcard characters: False
385
397
# ## -Start
386
398
387
399
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\]).
390
402
391
403
` ` ` yaml
392
404
Type: System.DateTime
@@ -484,7 +496,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
484
496
485
497
# ## Microsoft.Management.Infrastructure.CimInstance
486
498
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
488
500
Windows Management Instrumentation (WMI) objects. The path after the pound sign (`#`) provides the
489
501
namespace and class name for the underlying WMI object.
490
502
0 commit comments