Help with perl script to add information to AD user profile

56,490 pts.
Tags:
Active Directory
Active Directory 2003
Active Directory User Profiles
Perl
Scripting
Scripting languages
Windows 7
Windows 7 in 2010
I need to use Perl script to create a script that will add some information to an active directory users profile. The client is on Windows 7 and the AD server is 2003. Where can I find script examples? Can someone help?
ASKED: July 26, 2010  2:07 PM
UPDATED: July 26, 2010  8:16 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Go to Microsoft’s Script Center and review their “scripts in their format which you would see what information you would need to “convert” over to perl script format.

<a href=”http://gallery.technet.microsoft.com/ScriptCenter/en-us/site/search?f[0].Type=RootCategory&f[0].Value=activedirectory&f[0].Text=Active%20Directory&f[1].Type=SubCategory&f[1].Value=useraccounts&f[1].Text=User%20Accounts&pageIndex=2″>Microsoft’s Script Center</a> (AD Users Section)

<a href=”http://docs.activestate.com/pdk/7.3/VBSPerl_overview.html”>Download VBScript converter</a>

Sample command to convert (command line): vbsperl inputfile.vbs > outputfile.pl
You can use the GUI if you prefer.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • ITKE
    [...] 4. EmNichs and Aguacer0 teamed up again to provide help with perl script to add information to an Active Directory user profile. [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following