Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Orchestration Query AD and fetch group names based on condition

Rachael12
Tera Contributor

Hello,

 

I want to query AD and get the groups in which the user is added currently. This would require PowerShell and haven't used it before.
Could someone please help me with it.

 

Further I need to remove few of the groups from AD.
Please let me know if anyone has worked on such requirement.

 

Thanks in advance

0 REPLIES 0