maxrebo Posted September 18, 2023 Posted September 18, 2023 Hi, I need to get a list of what version every domain joined computer is on. What's the easiest way to do this? Regards
Norphy Posted September 18, 2023 Posted September 18, 2023 (edited) In PowerShell on a computer or server with the AD management module installed: Get-ADComputer -filter * -properties operatingSystem, operatingSystemVersion | select name, operatingSystem, operatingSystemVersion | export-Csv -noTypeInformation -path .\OS.csv That will do it. You won't get the precise build number that you're on, so you won't get patch level but you'll at least get the OS name and branch. It will dump the results in a CSV file called os.csv in the folder that you're running the command from. Edited September 18, 2023 by Norphy 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now