Perl: the Markov chain saw | |
PerlMonks |
Re: Changing Dial-In options for Windows 2000by tachyon (Chancellor) |
on Mar 03, 2003 at 01:00 UTC ( [id://239924]=note: print w/replies, xml ) | Need Help?? |
Do it with VBS. You can automate this by writing a file tmp.vbs executing it and then unlinking it. Here is an example that enables accounts chopped out of one of my AD scripts. You will need to set $TMPVBS, $OU and $DC which are my defined outer scope globals (so shoot me)..... Do an C:\>ldifde -f dump.txt; type dump.txt to see what $OU and $DC should be if you don't know already.
I'll leave it as an exercise for you to find the right property name and what to set it to. Here is a hint I suggest you enumerate the properties and their values. cheers tachyon s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In Section
Seekers of Perl Wisdom
|
|