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

Setting AD user paths

$
0
0

I am using server 2008R2 with the active directory module. I want to call the new-aduser cmdlet to add a user to a domain controller called "Network Users". I am currently writing the following: 

new-aduser -name "John" -path"dc=Network Users,dc=dingis,dc=local"

The domain is dingis.local

I get no error, my prompt just turns into this:  >>

It looks like powershell is waiting for more arguments but I have no idea what else it wants. Thank you in advance. 

NOTE. If I type:

new-aduser -name "John"   

A new user is successfully created in the "Users" domain controller





Viewing all articles
Browse latest Browse all 21975

Trending Articles



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