I'd like to write a script that restore a Virual Machine in Hyper-V from a snapshot once every 20 days.
I know that the automation can be achieved by using Windows Task Scheduler. The main problem is that I cannot really write that script by myself. I'd appreciate some guidance in the topic. I run Microsoft Server 2012 R2.