Skip to content

Commit

Permalink
Additional doc detail
Browse files Browse the repository at this point in the history
  • Loading branch information
brianary committed Oct 29, 2017
1 parent 913e40e commit 3e4d73d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Export-ScheduledJobs.ps1
@@ -1,6 +1,20 @@
<#
.Synopsis
Exports scheduled jobs as a PowerShell script that can be run to restore them.
.Link
https://docs.microsoft.com/powershell/module/psscheduledjob/about/about_scheduled_jobs
.Link
https://msdn.microsoft.com/library/microsoft.powershell.scheduledjob.scheduledjobdefinition_members.aspx
.Link
Get-ScheduledJob
.Example
Export-ScheduledJobs.ps1 |Out-File Import-ScheduledJobs.ps1 utf8
Exports all scheduled jobs as PowerShell Register-ScheduledJob cmdlet strings.
#>

[CmdletBinding()][OutputType([Microsoft.PowerShell.ScheduledJob.ScheduledJobDefinition])] Param()
Expand Down

0 comments on commit 3e4d73d

Please sign in to comment.