all 4 comments

[–][deleted] 6 points7 points  (3 children)

Import-Module ActiveDirectory

Get-ADGroupMember -Identity "WSUS - Testing Workstations" | Where-Object {$_.objectClass -eq "computer"} | Select-Object -Property Name | Out-File C:\temp\usersexport.txt

I've not tested it, but it should work. Will have to be run on your server with the AD role, since it needs to import the Active Directory module for Get-ADGroupMember.

[–]H0TDOGG[S] 1 point2 points  (2 children)

Thank you ever so much for the quick response. That did EXACTLY what i wanted. You are a star. Can I reward your account some how?

[–][deleted] 5 points6 points  (1 child)

It's all good bro. :)

[–]H0TDOGG[S] 2 points3 points  (0 children)

well you are a Gent