File tree Expand file tree Collapse file tree 5 files changed +13
-9
lines changed
winserver2012-ps/scheduledtasks
winserver2012r2-ps/scheduledtasks
winserver2016-ps/scheduledtasks
winserver2019-ps/scheduledtasks
winserver2022-ps/scheduledtasks Expand file tree Collapse file tree 5 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ PS C:\> Register-ScheduledTask 'baz' -InputObject $task
6363
6464```
6565
66- This example creates and registers a scheduled task that runs two powershell scripts daily at 09:15 AM.
66+ This example creates and registers a scheduled task that runs two PowerShell scripts daily at 09:15 AM.
6767
6868## PARAMETERS
6969
Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ PS C:\> $trigger = New-ScheduledTaskTrigger -AtLogon
3535PS C:\> $principal = "Contoso\Administrator"
3636PS C:\> $settings = New-ScheduledTaskSettingsSet
3737PS C:\> $task = New-ScheduledTask -Action $action -Principal $principal -Trigger $trigger -Settings $settings
38- PS C
38+ PS C:\> Register-ScheduledTask T1 -InputObject $task
39+ ```
3940
4041In this example, the set of commands uses several cmdlets and variables to define and then register a scheduled task.
4142
@@ -64,7 +65,7 @@ PS C:\> Register-ScheduledTask 'baz' -InputObject $task
6465
6566```
6667
67- This example creates and registers a scheduled task that runs two powershell scripts daily at 09:15 AM.
68+ This example creates and registers a scheduled task that runs two PowerShell scripts daily at 09:15 AM.
6869
6970## PARAMETERS
7071
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ PS C:\> $trigger = New-ScheduledTaskTrigger -AtLogon
3636PS C:\> $principal = "Contoso\Administrator"
3737PS C:\> $settings = New-ScheduledTaskSettingsSet
3838PS C:\> $task = New-ScheduledTask -Action $action -Principal $principal -Trigger $trigger -Settings $settings
39- PS C
39+ PS C:\> Register-ScheduledTask T1 -InputObject $task
40+ ```
4041
4142In this example, the set of commands uses several cmdlets and variables to define and then register a scheduled task.
4243
@@ -65,7 +66,7 @@ PS C:\> Register-ScheduledTask 'baz' -InputObject $task
6566
6667```
6768
68- This example creates and registers a scheduled task that runs two powershell scripts daily at 09:15 AM.
69+ This example creates and registers a scheduled task that runs two PowerShell scripts daily at 09:15 AM.
6970
7071## PARAMETERS
7172
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ PS C:\> $trigger = New-ScheduledTaskTrigger -AtLogon
3636PS C:\> $principal = "Contoso\Administrator"
3737PS C:\> $settings = New-ScheduledTaskSettingsSet
3838PS C:\> $task = New-ScheduledTask -Action $action -Principal $principal -Trigger $trigger -Settings $settings
39- PS C
39+ PS C:\> Register-ScheduledTask T1 -InputObject $task
40+ ```
4041
4142In this example, the set of commands uses several cmdlets and variables to define and then register a scheduled task.
4243
@@ -65,7 +66,7 @@ PS C:\> Register-ScheduledTask 'baz' -InputObject $task
6566
6667```
6768
68- This example creates and registers a scheduled task that runs two powershell scripts daily at 09:15 AM.
69+ This example creates and registers a scheduled task that runs two PowerShell scripts daily at 09:15 AM.
6970
7071## PARAMETERS
7172
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ PS C:\> $trigger = New-ScheduledTaskTrigger -AtLogon
3636PS C:\> $principal = "Contoso\Administrator"
3737PS C:\> $settings = New-ScheduledTaskSettingsSet
3838PS C:\> $task = New-ScheduledTask -Action $action -Principal $principal -Trigger $trigger -Settings $settings
39- PS C
39+ PS C:\> Register-ScheduledTask T1 -InputObject $task
40+ ```
4041
4142In this example, the set of commands uses several cmdlets and variables to define and then register a scheduled task.
4243
@@ -65,7 +66,7 @@ PS C:\> Register-ScheduledTask 'baz' -InputObject $task
6566
6667```
6768
68- This example creates and registers a scheduled task that runs two powershell scripts daily at 09:15 AM.
69+ This example creates and registers a scheduled task that runs two PowerShell scripts daily at 09:15 AM.
6970
7071## PARAMETERS
7172
You can’t perform that action at this time.
0 commit comments