Use CMD to echo a Script Block to an Encoded Command

I like quirky and odd things.  Encoded commands are nothing new, but check out this method for generating one. If you echo a script block with cmd.exe /c, in a PowerShell host, you receive an encoded command (and a couple of other populated parameters) with which to call PowerShell…   cmd /c echo {while ($true) {Write-Output ` “Now…

0

PowerShell and Poetry

Some of the best scripts I've seen often remind me of my favourite poems. There's a structure, flow and precision manifest in both disciplines. I suspect this says a lot about the pleasure I derive from detailed patterns.   @"  THE THOUGHT-FOX  I imagine this midnight moment’s forest:  Something else is alive  Beside the clock’s loneliness…

0