Hi @Filip ,
Maybe some of these links are helpful:
https://stackoverflow.com/questions/2969321/how-can-i-do-a-screen-capture-in-windows-powershell
https://www.pdq.com/blog/capturing-screenshots-with-powershell-and-net/
http://woshub.com/take-user-desktop-screenshot-with-powershell/
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten