Updated to use PowerShell script