Skip to content

Instantly share code, notes, and snippets.

@shaneis
Last active April 24, 2018 06:23
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Write-Host as first stage
Write-Host "Date: $(Get-Date)"
Write-Host "ScriptBlock: Write-Host"
Write-Host "DateDescription: $(if ((Get-Date).Second -lt 15) {
'1st Quarter'
} elseif ((Get-Date).Second -lt 30) {
'2nd Quarter'
} elseif ((Get-Date).Second -lt 45) {
'3rd Quarter'
} else {
'4th Quarter'
})"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment