Hi
the instructions in the link below will help you get a list of all client and server operating System versions using PowerShell:
https://sid-500.com/2019/07/30/powershell-retrieve-list-of-domain-computers-by-operating-system/
Hope this helps,
Thanks
Michael Durkan
- If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!