Use Powershell to find latest AzureAdConnect version online.

Use a function to find the latest version of Azure AD Connect online

From Microsofts page: Azure AD Connect Version Historiy

Function Get-AzureADConnectVersionOnline {

# Find version number
$TempAzure = Invoke-WebRequest -Uri
$TempAzure.content | Out-File C:\temp\AzureVersion.TXT
$AzureFile = Get-Content C:\temp\AzureVersion.TXT | Select-String -Pattern “<h2 id=”
$Azure = $AzureFile -replace “\<.*?\>”
$AzureVersion = $azure | Select-Object -first 1
Write-Output “Latest Online Version is: $AzureVersion”

# Find release date
$AzureReleaseFile = Get-Content C:\temp\AzureVersion.TXT | Select-String -Pattern “<p>”
$AzureRelease = $AzureReleaseFile -replace “\<.*?\>”
$AzureReleaseDate = $AzureRelease[3]
Write-output “Azure Relase date $AzureReleaseDate”


This will give you the following output:

Latest Online Version is: 1.1.561.0
Azure Relase date Status: July 23 2017

1 comment

  1. Hi,

    Thanks for the updated information…….!!

Leave a Reply

Your email address will not be published.