How I used nircmd to take screenshot during my online classes.
Nircmd can be used for many more useful applications, you can go through their documentation to get an idea.
Please go through the Readme here:
https://github.com/hakcat/Win-Sc-utility