Created
May 29, 2014 03:55
-
-
Save dlwyatt/a66d303c75b037d6778d to your computer and use it in GitHub Desktop.
JobScript update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$JobScript = @" | |
&{ | |
`$DebugPreference = 'Continue' | |
Write-Debug "Start(Ticks) = `$((get-date).Ticks)" | |
} | |
& { $ScriptBlock } @args | |
&{ | |
`$DebugPreference = 'Continue' | |
Write-Debug "End(Ticks) = `$((get-date).Ticks)" | |
} | |
"@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment