Skip to content

Instantly share code, notes, and snippets.

@vScripter
Created September 5, 2017 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vScripter/235539b140c5b75432689f009897eb67 to your computer and use it in GitHub Desktop.
Save vScripter/235539b140c5b75432689f009897eb67 to your computer and use it in GitHub Desktop.
BEGIN {
$now = Get-Date
$dateFormat = $now.tostring('yyyyMMdd')
$dateDay = $now.tostring('dddd')
$fileName = $dateFormat + '_' + $dateDay + '_' + 'WL.md'
$filePath = Join-Path $Path $fileName
$nowLong = $now.tostring('D')
} # end BEGIN block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment