Merry Christmas and Happy New Year!

Merry Christmas and Happy New Year!

  • Comments 3
  • Likes

What better way than using PowerShell to wish you all a Merry Christmas and Happy New Year!

 

Copy and paste script and run in PowerShell.

 

$frame1 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       M                   |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'                    *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)                              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame2 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Me                  |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'                    *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)                              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame3 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Mer                 |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'                    *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)                              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame4 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merr                |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'                    *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)                              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame5 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry               |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'                    *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)                              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame6 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry C             |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'                    *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)                              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame7 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Ch            |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'                    *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)                              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame8 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Chr           |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'                    *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)                              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame9 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Chri          |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'                    *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)                              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame10 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christ        |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'                    *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)                              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame11 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christm       |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'                    *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)                              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame12 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christma      |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'                    *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)                              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame13 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christmas     |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'                    *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)                              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame14 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christmas     |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'           &        *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)                              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame15 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christmas     |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'           &        *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)             H                |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@


$frame16 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christmas     |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'           &        *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)             Ha               |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame17 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christmas     |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'           &        *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)             Hap              |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame18 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christmas     |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'           &        *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)             Happ             |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame19 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christmas     |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'           &        *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)             Happy            |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame20 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christmas     |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'           &        *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)             Happy N          |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame21 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christmas     |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'           &        *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)             Happy Ne         |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame22 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christmas     |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'           &        *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)             Happy New        |
| *                               '^'      .                        |
|
`-------------------------------------------------------------------'
"@

$frame23 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christmas     |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'           &        *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)             Happy New        |
| *                               '^'      .                        |
|                                                     Y   
`-------------------------------------------------------------------'
"@

$frame24 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christmas     |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'           &        *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)             Happy New        |
| *                               '^'      .                        |
|                                                     Ye   
`-------------------------------------------------------------------'
"@

$frame25 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christmas     |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'           &        *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)             Happy New        |
| *                               '^'      .                        |
|                                                     Yea   
`-------------------------------------------------------------------'
"@

$frame26 = @"
.----------------------_._------------------------------------------.
|                     d888b         .                        *      |
|   .   *           _ ?888P_                         .              |
|             ,-~~-'-/_~~~\.'-~:8o.          *                      |
|           ,'      .:8bv'      .:88.                     .         |
|          /         .:88         .:8b    .     .                 . |
|  .      /          .:8P          .:8b                             |
|       ,'          .:8P\           .:88.       Merry Christmas     |
|    ,='           .:88  \           __:88g_                        |
|     -._          .:8|  |    _..-~,~    ~;'           &        *   |
|        ~o..__    .:8|  | _-~   ?8b_ _.-'                          |
|          ~~  ~~--.:88  /:___...(888)             Happy New        |
| *                               '^'      .                        |
|                                                     Year   
`-------------------------------------------------------------------'
"@


$allframes = ($frame1,$frame2,$frame3,$frame4,$frame5,$frame6,$frame7,$frame8,$frame9,$frame10 `
            ,$frame11,$frame12,$frame13,$frame14,$frame15,$frame16,$frame17,$frame18,$frame19,$frame20 `
            ,$frame21,$frame22,$frame23,$frame24,$frame25,$frame26)


$JingleBells = {[console]::beep(659,400);sleep -m 50;[console]::beep(659,400);sleep -m 50;[console]::beep(659,800) ;sleep -m 50;[console]::beep(659,400);sleep -m 50;[console]::beep(659,400);sleep -m 50;[console]::beep(659,800);sleep -m 50;[console]::beep(659,400);sleep -m 50;[console]::beep(783,400);sleep -m 50;[console]::beep(523,400);sleep -m 50;[console]::beep(587,400);sleep -m 50;[console]::beep(659,800)}
  
$newPowerShell = [PowerShell]::Create().AddScript($JingleBells)
$handle = $newPowerShell.BeginInvoke()
  
while ($handle.IsCompleted -eq $false) {
  $allframes | foreach {$_;sleep -m 120;cls}   
}
  
  
$newPowerShell.EndInvoke($handle)

$frame26

If you don’t want to run the PowerShell script yourself you can watch the video Smile

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Hahahaha! Nice one!

    And back at ya ;-)

  • Awesome! Thanks for sharing :-)

  • Wow! Great script, thanks for sharing