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

Creating Nested Groups Using PowerShell

$
0
0

I am trying to create a Powershell command to nest one group as a member of the other but I can't seem to find anything and the page on here about it seem corrupt in some way.

I have tried:

dsmod group "FQDN of Top Group" -addmbr "FQDN of sub group"

but this just doesn't seem to work as I get an error saying the Directory object doesn't exist for the top group, but it does exist and I can nest them using ADUC.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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