In trying to find a way to display Windows 10 version and its revision for a single remote computer, I noticed that the Powershell's version revision followed the Windows revision.

It led me to build this script. I added a test to know if the remote computer needs to restart for update completion.

This gives this type of result :

<Computer_Name>
Version Windows 10 Enterprise 1703, revision 296


In an AD domain, you may replace your single <Computer_Name> by a variable that contains the whole computers of an OU.

Hope it helps !