Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

AD groups to excel

$
0
0

Sorry if this is the wrong area cant find where it may go.i have many AD groups and have been asked what folders they apply to huuuuge job

to help I have a command that will tell me some details of the AD groups so I know what they was created and last used.

I want to push this out to an excel file but I can t make it work I never use PS please help.

here is what I am using the command to pull the details form AD works great it is jus the pushing to to excel that's the issue:

PS C:\Windows> Get-ADGroup -filter {ObjectClass -eq "group"} -Properties * -searchbase "OU=EU,DC=main,DC=intgin,DC=net"
| FT name, whencreated, GroupCategory, whenchanged ¦ Get-Process | Export-Csv c:\ADGroupDetails.txt


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>