Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PROCESS {
if (Test-Path -LiteralPath $filePath -PathType Leaf) {
Get-Content -LiteralPath $filePath -ReadCount 0
} else {
Write-Warning -Message 'Work Log file has not been created'
} # end if/else
} # end PROCESS block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.