Skip to content

Instantly share code, notes, and snippets.

@StartAutomating
Created July 27, 2024 00:36
Show Gist options
  • Select an option

  • Save StartAutomating/df91898a847d7d0470cf80bc4db3f02c to your computer and use it in GitHub Desktop.

Select an option

Save StartAutomating/df91898a847d7d0470cf80bc4db3f02c to your computer and use it in GitHub Desktop.
Gist a little friendly advice about Shipping Software
<#
.Synopsis
Not On a Friday.
.Description
Gist a little bit of friendly advice about the wisdom of shipping software on a Friday.
.Notes
Yes, this runs.
#>
[ValidateScript({
if ([DateTime]::Now.DayOfWeek -eq 'Friday') {
throw "Not on a Friday!"
}
return $true
})][switch]$ShipIt = $true
@jimbrig
Copy link
Copy Markdown

jimbrig commented Aug 7, 2024

lol good stuff!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment