Updating to use script file resource for installing azure powershell and dependencies.