Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Try to set password for account being used to enable an AD account

Status
Not open for further replies.

acabezas7

MIS
Mar 5, 2007
71
US
Hi I am trying to run this command which works great to enable an AD account for me. But when I use AD account helpdesk as the account to run this command it prompts me to enter the user accounts password. How can I make it so that it doesn't prompt for password when running script. Thanks

Enable-ADAccount -Identity "CN=eCW Server,OU=CW User Accounts,DC=CC,DC=dh,DC=net" -AuthType Negotiate -Credential dh\helpdesk -Server "chsricbdc01.dh.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top