I’m certain others knew this before me, but this is just too cool.

All these years, I didn’t realize there was a little program called “CLIP.EXE” sitting in Windows with one simple task.  All you to send data to the clipboard.

Isn’t that just NICE?

So I was playing with my GET-NEWPassword function and added in two extra lines near the bottom and changed

Return $NewPassword


$NewPassword | CLIP

Return $NewPassword, (CONVERTTO-SECURESTRING $NewPassword -asplaintext -force)


What this means is I now have a function that can Generate new random passwords and have it in a form that I could immediately document them somewhere or even just paste into a Non Powershell enabled program

Gotta love it when it’s this easy

the Power of Shell is in YOU

The Energized Tech