Skip to content
Snippets Groups Projects
Commit ae43a1a5 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Rewrap to line length 80.

parent da415c37
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,8 @@ done by using the following PowerShell commands: ...@@ -52,7 +52,8 @@ done by using the following PowerShell commands:
$TimeSpan = New-TimeSpan -Minutes 1 $TimeSpan = New-TimeSpan -Minutes 1
# configure a JobTrigger for the task using the repetition interval from above, repeating forever # configure a JobTrigger for the task using the repetition interval from above,
# repeating forever
$JobTrigger = New-JobTrigger ` $JobTrigger = New-JobTrigger `
-Once ` -Once `
-At (Get-Date).Date ` -At (Get-Date).Date `
...@@ -60,16 +61,16 @@ $JobTrigger = New-JobTrigger ` ...@@ -60,16 +61,16 @@ $JobTrigger = New-JobTrigger `
-RepeatIndefinitely -RepeatIndefinitely
# configure the JobOptions for the task (battery options should not be required on a fixed system, # configure the JobOptions for the task (battery options should not be required
# but doesn't hurt either) # on a fixed system, but doesn't hurt either)
$JobOptions = New-ScheduledJobOption ` $JobOptions = New-ScheduledJobOption `
-RunElevated ` -RunElevated `
-StartIfOnBattery ` -StartIfOnBattery `
-ContinueIfGoingOnBattery -ContinueIfGoingOnBattery
# set credentials for running the task (requires permission to start/stop the service # set credentials for running the task (requires permission to start/stop the
# and overwriting the configuration and binaries) # service and overwriting the configuration and binaries)
$Cred = Get-Credential $Cred = Get-Credential
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment