0

Is there a way to see the Azure AD Connect version using Powershell without access to the local servers that is running the Azure AD Connect client?

Think of it as a simple environment with servers On-premise, syncronizing users to Azure AD using Azure AD Connect client on a server. Now, I want to see the version on the client without accessing the servers or the Office 365 portal. The reason is that we have many clients like this, and need a list of all versions. We can run Powershell towards them at the same time.

Have looked in the the Powershell module AzureAD but no luck in cmdlets. https://docs.microsoft.com/en-us/powershell/module/azuread/?view=azureadps-2.0

Andreas
  • 299
  • 1
  • 5
  • 15

2 Answers2

0

Try this:

(Get-Command "C:\Program Files\Microsoft Azure AD Sync\Bin\miiserver.exe").FileVersionInfo.FileVersion
joeqwerty
  • 108,377
  • 6
  • 80
  • 171
0

Found it in the MSOnline module!

Get-MsolCompanyInformation -TenantId $customer.TenantId | select DisplayName,DirSyncClientMachineName,DirSyncClientVersion

enter image description here

Andreas
  • 299
  • 1
  • 5
  • 15