hi folks
I haven't looked at scripts in years.
I need to export all computers from certain AD security groups, and my syntax is rubbish for gettting the MACs!
the basics which worked were -
Get-ADGroupMember -Identity "blah blah"|select name, objectGUID |export-csv -path C:\temp\blahblah.csv -NoTypeInformation
I then tried to add in Get-WMIObject win32_networkadapterconfiguration |select description, macaddress
that didn't work
and I tried a few others
basically I don't know what I am doing wrong not joining the different areas.
If someone can give me a hand I would appreciate it. I need all the MACs and name for SCCM, I plan to import the csv and just getting objectGUID etc is not helpful.