fixing an error detecting the latest versions of Azure Powershel