Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Newbie needing quick PS command for AD and MSOL modules

$
0
0

Hi everyone. I am really really sorry for asking a question that I am sure has been asked before but I need to retrieve data in the next few hours to present in a meeting.

Using Powershell 3.x with the Active directory and AD extended modules how can I search for specific AD group and search for members in that group, and when the group was modified last

I can find one AD user name
get-aduser -identity ‘ADname

I can find an AD group running the following command 
get-adgroupmember "
group name"

But I can not figure out the syntax on how many members are in a specific AD group and when that group was last modified.

If anyone can provide that command I would really be thankful.

Thank you


 

Viewing all articles
Browse latest Browse all 15028

Trending Articles



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