Is there a way to use the windows scheduled task to kick off a url or a exe on a schedule?

Can I write a program as an exe then create a Azure VM then RDP into the Azure VM and hook it up to windows task scheduler?

Edit
Report