Last active
February 14, 2017 19:38
-
-
Save FooBartn/14455fa52f9a1da4f5688ab6cfad98f0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function Happy-ValentinesDay () { | |
param ( | |
[Parameter(Mandatory)] | |
[datetime] | |
$TheBeginning | |
) | |
while ($true) { | |
$TimeInLove = (Get-Date) - $TheBeginning | |
$Days = "{0:d4}" -f $TimeInLove.Days | |
$Hours = "{0:d2}" -f $TimeInLove.Hours | |
$Minutes = "{0:d2}" -f $TimeInLove.Minutes | |
$Seconds = "{0:d2}" -f $TimeInLove.Seconds | |
@" | |
*** *** *** *** *** *** | |
** ** ** ** ** ** ** ** ** ** ** ** | |
* * * * * * * * * | |
* * * * * * | |
* I * * LOVE * * YOU * | |
** ** *** *** ** ** *** *** ** ** | |
** ** ** ** ** ** ** ** ** ** ** ** ** ** | |
** ** * * * ** ** * * * ** ** | |
* * $Days * * * $Hours * * | |
* DAYS * * HOURS * | |
*** *** ** ** *** *** ** ** *** *** | |
** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** | |
* * * ** ** * * * ** ** * * * | |
* $Minutes * * * HAPPY * * * $Seconds * | |
* MINUTES * * VALENTINES * * SECONDS * | |
** ** *** *** ** DAY ** *** *** ** ** | |
** ** ** ** ** ** ** ** ** ** ** ** ** ** | |
** ** * * * ** ** * * * ** ** | |
* * * * * AND * * | |
* TODAY * * FOREVER * | |
** ** ** ** | |
** ** ** ** | |
** ** ** ** | |
* * | |
"@ | |
Start-Sleep -Seconds 1 | |
Clear-Host | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment