Solved

Add user to Windows 2012R2 AD with DialIn ip address

Posted on 2014-11-14
9
227 Views
Last Modified: 2014-11-22
I need to add user to Windows 2012R2 AD with:
  Login name and domain
  Full name and address
  Group
  DialIn ip address

I need to do all this from command line
0
Comment
Question by:soffcec
  • 4
  • 4
9 Comments
 
LVL 13

Expert Comment

by:SagiEDoc
ID: 40442564
You first have to create the user:
net user username password /ADD /domain /FULLNAME:"User_Fullname"
Then you add the user to the group
net group groupname domainnamel\username /add

The IP address adding I am not sure about.
0
 

Author Comment

by:soffcec
ID: 40442779
Well I need this all or nothing.
0
 
LVL 19

Expert Comment

by:compdigit44
ID: 40444996
You might be able to do this via powershell. I am still doing research on this for you and the attribute that needs to be referenced.. but I think I am getting  close..

http://www.experts-exchange.com/Programming/Languages/Scripting/Powershell/Q_27687701.html
0
 
LVL 19

Accepted Solution

by:
compdigit44 earned 500 total points
ID: 40445815
I believe the following link is what you are looking for and will show you how to add the dial-in IP via a script...

http://calumpowell.com/2012/05/02/allow-dial-in-and-assign-static-ip-addresses-in-active-directory-with-powershell/
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:soffcec
ID: 40445932
Cannot make set-qaduser to work , do I need to install it ?

PS C:\> set-qaduser
set-qaduser : The term 'set-qaduser' is not recognized as the name of a cmdlet,
 function, script file, or operable program. Check the spelling of the name, or
 if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ set-qaduser
+ ~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (set-qaduser:String) [], Command
   NotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
0
 
LVL 19

Expert Comment

by:compdigit44
ID: 40446182
Use can use import the native powershell snap-in for AD by typing in the following

IMport-module Active Directory

The reason why you cannot load the set-qaduser is best the Quest plug-in for AD in not installed..

http://ss64.com/ps/quest.html
0
 

Author Comment

by:soffcec
ID: 40457044
I can not find out what to use. The link sends me to DELL software page, but I am looking for some free solution. Strange if this can not be done with bult in windows commands.
0
 
LVL 19

Expert Comment

by:compdigit44
ID: 40459835
it can be done using the built in commands..  The Dell bought Quest and some of their powershell cmdlets are free.

set-aduser , get-aduser etc...
0
 

Author Comment

by:soffcec
ID: 40460164
I resolved this with QADUser
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now