Can somebody recommend me some easy code, how can I make screenshot in powerhsell?
Thanks for answare.
Maybe some of these links are helpful:
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Thank You for posting in Q & A.
This PowerShell function will capture the screen in PowerShell and save it to an automatically numbered file. If the -OfWindow switch is used, then the current window will be captured.
This works by using the built in PRINTSCREEN / CTRL-PRINTSCREEEN tricks, and it uses a bitmap encoder to save the file to disk.
refer - How can I do a screen capture in Windows PowerShell.
Please don’t forget to
Accept the answer and up-vote wherever the information provided helps you, this can be beneficial to other community members.
9 people are following this question.