How do I export the output in powershell screen and save it as a image? To save the output as a text file I use the command below:
script.ps1 >> output.txt
I would want the output to be saved as a screenshot or image. Tried exporting as:
script.ps1 >> output.png
The image doesn't open