Updated get-bufferhtml
A while back, I posted an article: Console screen grabs in html.
I fixed some bugs and added a couple of new features to the script get-bufferhtml.ps1, and have updated the article with examples.
Enjoy!
A while back, I posted an article: Console screen grabs in html.
I fixed some bugs and added a couple of new features to the script get-bufferhtml.ps1, and have updated the article with examples.
Enjoy!
Are you missing a the function declaration before the param line?
(Great site and I’m really enjoying your posts!)
No, this is just executed as a script. If it’s in your path, you can just type get-bufferhtml and it will execute it.
Otherwise, if in the current dir, you can do:
./get-bufferhtml.ps1 [args]
The previous version was a function, but I found it a little to big to be cluttering up my profile.
Thanks for reading!