Help me write a power shell script to start and stop VM for below 3 schedule.
Schedule_a
Operate only during standard business hours
Automatically starts the VM at 04:00 UK time and stops at 22:00 UK time, Monday through Friday
Schedule_b
VMs for extended business hours
Automatically starts the VM at 04:00 UK time and stops at 22:00 UK time, every day
Schedule_c
VMs for a weekend schedule
Automatically starts the VM at 04:00 UK time and stops at 22:00 UK time, Saturdays & Sundays
Indu Gupta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.