Azure PowerShell for Azure Automation in order to automatically start and stop virtual machines, excluding on weekends.