RE: [ActiveDir] What is your favorite scripting language?
I don't use it on UNIX/LINUX so that isn't my reason. I really don't use those platforms and when I do it is more playing than working. I use perl for a couple of reasons. The main one is that I can write very small scripts that do a ton of work; vbscript is extremely verbose. Additonally the error handling is better. String handling is unbeatable. Where vbscript will tend to make something simple difficult, perl will usually make it extremely easy, the difficult easy, and the impossible merely difficult. ADSI stuff can be a pain sometimes in perl but I don't use ADO for searching, I shell out and use adfind and then use perl to chop the results. I dislike ADO intensely. I once worked with a guy when I worked at HP who thought I didn't use vbscript because I didn't know it. He would harrass me about it occasionally even though I said I had written a web site that used several thousand lines of vbscript. One day he had something wrong with his code and I quickly peeked at it and pointed out the problem so he finally realized that I actually did know vbscript. I then asked him what he was trying to do... I then wrote in perl with a few lines what had taken a page of vbscript and it ran much much faster. He started learning perl. Now his entire job is done in perl and he doesn't touch vbscript. joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Milburn Sent: Friday, December 12, 2003 10:29 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] What is your favorite scripting language? I'm afraid to ask... but... why is Perl the preferred language (besides it works on Unix/Linux)? Rich -Original Message- From: Joe [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:13 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] What is your favorite scripting language? But I did :oP joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robbie Allen (rallen) Sent: Thursday, December 11, 2003 8:52 PM To: [EMAIL PROTECTED] Subject: [ActiveDir] What is your favorite scripting language? O'Reilly is hosting a poll for the most popular scripting language on the Windows platform. To vote for your favorite language, visit the O'Reilly website (http://www.oreilly.com/) and look on the right side of the page under O'Reilly Poll. FYI, Perl has the early lead and no I didn't vote twice :-) Regards, Robbie Allen http://www.rallenhome.com/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ ---APPLEBEE'S INTERNATIONAL, INC. CONFIDENTIALITY NOTICE--- PRIVILEGED / CONFIDENTIAL INFORMATION may be contained in this message or any attachments. This information is strictly confidential and may be subject to attorney-client privilege. This message is intended only for the use of the named addressee. If you are not the intended recipient of this message, unauthorized forwarding, printing, copying, distribution, or using such information is strictly prohibited and may be unlawful. If you have received this in error, you should kindly notify the sender by reply e-mail and immediately destroy this message. Unauthorized interception of this e-mail is a violation of federal criminal law. Applebee's International, Inc. reserves the right to monitor and review the content of all messages sent to and from this e-mail address. Messages sent to or from this e-mail address may be stored on the Applebee's International, Inc. e-mail system. List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] What is your favorite scripting language?
I use python alot of the time actually. :-) -Original Message- From: Roger Seielstad [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 7:31 AM To: '[EMAIL PROTECTED]' Subject: RE: [ActiveDir] What is your favorite scripting language? coughBS/cough I find it interesting that Python is third, behind perl and VBScript. I've not seen a lot of references to Python on Windows platforms. -- Roger D. Seielstad - MTS MCSE MS-MVP Sr. Systems Administrator Inovis Inc. -Original Message- From: Robbie Allen (rallen) [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 8:52 PM To: [EMAIL PROTECTED] Subject: [ActiveDir] What is your favorite scripting language? O'Reilly is hosting a poll for the most popular scripting language on the Windows platform. To vote for your favorite language, visit the O'Reilly website (http://www.oreilly.com/) and look on the right side of the page under O'Reilly Poll. FYI, Perl has the early lead and no I didn't vote twice :-) Regards, Robbie Allen http://www.rallenhome.com/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir% 40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] What is your favorite scripting language?
Sliding off topic a bit more here.. Why? What's it buy you that perl and VBScript don't? -- Roger D. Seielstad - MTS MCSE MS-MVP Sr. Systems Administrator Inovis Inc. -Original Message- From: Hutchins, Mike [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 9:58 AM To: [EMAIL PROTECTED] Cc: Roger Seielstad Subject: RE: [ActiveDir] What is your favorite scripting language? I use python alot of the time actually. :-) -Original Message- From: Roger Seielstad [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 7:31 AM To: '[EMAIL PROTECTED]' Subject: RE: [ActiveDir] What is your favorite scripting language? coughBS/cough I find it interesting that Python is third, behind perl and VBScript. I've not seen a lot of references to Python on Windows platforms. -- Roger D. Seielstad - MTS MCSE MS-MVP Sr. Systems Administrator Inovis Inc. -Original Message- From: Robbie Allen (rallen) [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 8:52 PM To: [EMAIL PROTECTED] Subject: [ActiveDir] What is your favorite scripting language? O'Reilly is hosting a poll for the most popular scripting language on the Windows platform. To vote for your favorite language, visit the O'Reilly website (http://www.oreilly.com/) and look on the right side of the page under O'Reilly Poll. FYI, Perl has the early lead and no I didn't vote twice :-) Regards, Robbie Allen http://www.rallenhome.com/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir% 40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir% 40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] What is your favorite scripting language?
Well, they aren't very good reason, but here you are :-) Vbscript is platform dependant. (I run some various utility boxes that are *nix, and I tend to run scripts from them too) Perl has a tendancy to confuse the hell out of me occasionally. I use A LOT of the info from Robbies books, so I do use perl. A few years ago I was bored and wanted to learn a scripting language and just pulled python out of my a$$.. If you know perl well enough, I would think it is probably better than python (not sure but may be). But I know python better so when I want to do something just fast and dirty, python usually gets the call. -Original Message- From: Roger Seielstad [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 8:09 AM To: '[EMAIL PROTECTED]' Subject: RE: [ActiveDir] What is your favorite scripting language? Sliding off topic a bit more here.. Why? What's it buy you that perl and VBScript don't? -- Roger D. Seielstad - MTS MCSE MS-MVP Sr. Systems Administrator Inovis Inc. -Original Message- From: Hutchins, Mike [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 9:58 AM To: [EMAIL PROTECTED] Cc: Roger Seielstad Subject: RE: [ActiveDir] What is your favorite scripting language? I use python alot of the time actually. :-) -Original Message- From: Roger Seielstad [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 7:31 AM To: '[EMAIL PROTECTED]' Subject: RE: [ActiveDir] What is your favorite scripting language? coughBS/cough I find it interesting that Python is third, behind perl and VBScript. I've not seen a lot of references to Python on Windows platforms. -- Roger D. Seielstad - MTS MCSE MS-MVP Sr. Systems Administrator Inovis Inc. -Original Message- From: Robbie Allen (rallen) [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 8:52 PM To: [EMAIL PROTECTED] Subject: [ActiveDir] What is your favorite scripting language? O'Reilly is hosting a poll for the most popular scripting language on the Windows platform. To vote for your favorite language, visit the O'Reilly website (http://www.oreilly.com/) and look on the right side of the page under O'Reilly Poll. FYI, Perl has the early lead and no I didn't vote twice :-) Regards, Robbie Allen http://www.rallenhome.com/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir% 40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir% 40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] What is your favorite scripting language?
I'm afraid to ask... but... why is Perl the preferred language (besides it works on Unix/Linux)? Rich -Original Message- From: Joe [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:13 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] What is your favorite scripting language? But I did :oP joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robbie Allen (rallen) Sent: Thursday, December 11, 2003 8:52 PM To: [EMAIL PROTECTED] Subject: [ActiveDir] What is your favorite scripting language? O'Reilly is hosting a poll for the most popular scripting language on the Windows platform. To vote for your favorite language, visit the O'Reilly website (http://www.oreilly.com/) and look on the right side of the page under O'Reilly Poll. FYI, Perl has the early lead and no I didn't vote twice :-) Regards, Robbie Allen http://www.rallenhome.com/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ ---APPLEBEE'S INTERNATIONAL, INC. CONFIDENTIALITY NOTICE--- PRIVILEGED / CONFIDENTIAL INFORMATION may be contained in this message or any attachments. This information is strictly confidential and may be subject to attorney-client privilege. This message is intended only for the use of the named addressee. If you are not the intended recipient of this message, unauthorized forwarding, printing, copying, distribution, or using such information is strictly prohibited and may be unlawful. If you have received this in error, you should kindly notify the sender by reply e-mail and immediately destroy this message. Unauthorized interception of this e-mail is a violation of federal criminal law. Applebee's International, Inc. reserves the right to monitor and review the content of all messages sent to and from this e-mail address. Messages sent to or from this e-mail address may be stored on the Applebee's International, Inc. e-mail system. List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] What is your favorite scripting language?
I wrote an article about this topic a few weeks ago: http://www.oreillynet.com/pub/a/network/2003/11/18/activedir_ckbk.html There was a fair amount of discussion (at the end of the article) so I asked O'Reilly to host the poll. Robbie Allen http://www.rallenhome.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Milburn Sent: Friday, December 12, 2003 10:29 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] What is your favorite scripting language? I'm afraid to ask... but... why is Perl the preferred language (besides it works on Unix/Linux)? Rich -Original Message- From: Joe [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:13 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] What is your favorite scripting language? But I did :oP joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robbie Allen (rallen) Sent: Thursday, December 11, 2003 8:52 PM To: [EMAIL PROTECTED] Subject: [ActiveDir] What is your favorite scripting language? O'Reilly is hosting a poll for the most popular scripting language on the Windows platform. To vote for your favorite language, visit the O'Reilly website (http://www.oreilly.com/) and look on the right side of the page under O'Reilly Poll. FYI, Perl has the early lead and no I didn't vote twice :-) Regards, Robbie Allen http://www.rallenhome.com/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ ---APPLEBEE'S INTERNATIONAL, INC. CONFIDENTIALITY NOTICE--- PRIVILEGED / CONFIDENTIAL INFORMATION may be contained in this message or any attachments. This information is strictly confidential and may be subject to attorney-client privilege. This message is intended only for the use of the named addressee. If you are not the intended recipient of this message, unauthorized forwarding, printing, copying, distribution, or using such information is strictly prohibited and may be unlawful. If you have received this in error, you should kindly notify the sender by reply e-mail and immediately destroy this message. Unauthorized interception of this e-mail is a violation of federal criminal law. Applebee's International, Inc. reserves the right to monitor and review the content of all messages sent to and from this e-mail address. Messages sent to or from this e-mail address may be stored on the Applebee's International, Inc. e-mail system. List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] What is your favorite scripting language?
Its got a lot of, well, interesting features to it, and it supports some object types that aren't available in VBScript. And its cross platform, which makes it handy to know. -- Roger D. Seielstad - MTS MCSE MS-MVP Sr. Systems Administrator Inovis Inc. -Original Message- From: Rich Milburn [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 10:29 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] What is your favorite scripting language? I'm afraid to ask... but... why is Perl the preferred language (besides it works on Unix/Linux)? Rich -Original Message- From: Joe [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:13 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] What is your favorite scripting language? But I did :oP joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robbie Allen (rallen) Sent: Thursday, December 11, 2003 8:52 PM To: [EMAIL PROTECTED] Subject: [ActiveDir] What is your favorite scripting language? O'Reilly is hosting a poll for the most popular scripting language on the Windows platform. To vote for your favorite language, visit the O'Reilly website (http://www.oreilly.com/) and look on the right side of the page under O'Reilly Poll. FYI, Perl has the early lead and no I didn't vote twice :-) Regards, Robbie Allen http://www.rallenhome.com/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir% 40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir% 40mail.activedir.org/ ---APPLEBEE'S INTERNATIONAL, INC. CONFIDENTIALITY NOTICE--- PRIVILEGED / CONFIDENTIAL INFORMATION may be contained in this message or any attachments. This information is strictly confidential and may be subject to attorney-client privilege. This message is intended only for the use of the named addressee. If you are not the intended recipient of this message, unauthorized forwarding, printing, copying, distribution, or using such information is strictly prohibited and may be unlawful. If you have received this in error, you should kindly notify the sender by reply e-mail and immediately destroy this message. Unauthorized interception of this e-mail is a violation of federal criminal law. Applebee's International, Inc. reserves the right to monitor and review the content of all messages sent to and from this e-mail address. Messages sent to or from this e-mail address may be stored on the Applebee's International, Inc. e-mail system. List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir% 40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
RE: [ActiveDir] What is your favorite scripting language?
I've been programming computers for 25 years, but never as my main job. My first programming was necessary evil in my life as an engineer. Then, after slowly being seduced by the dark side, as part of my system administration chores on various platforms. I've programmed in various assembly, FORTRAN, c, VBScript, Kixtart, ColdFusion and Perl. From a purely language point of view and all other aspects put aside (portability, support, availability of reusable code, etc.), I much prefer Perl to VBScript. Why? It's hard to put in words, but Perl just seems to be a more natural conduit to get thoughts into code. Writing Vbscript requires you to think in VBScript. Writing in perl allows you to think in terms of the problem at hand, and the code just seems to flow from there. Things not to like about Perl? The syntax is brutal and terse. Perl programs from experienced programmers sometimes resemble line noise more than code. Perl undoubtedly has a steeper learning curve than VBScript. Learning complicated references and data structures is extremely daunting for a beginner, but unfortunately, needs to be mastered because most of the more powerful Win32 modules uses them. If you are only going to do very simple one-off scripts, you'd probably just as well stick with VBScript. For anything beyond very simple scripts, learn Perl - you won't regret it. From an implementation point of view, Perl does have the disadvantage of not being already installed as is VBScript. However, keep in mind that you do not have to install Perl on every machine - you can run it from a UNC patch quite nicely. Install Perl and associated modules on one machine, share the Perl folder, and run from everywhere else as \\PerlMachine\Perl\bin\perl script.pl. We've taken that one step further and installed perl in the netlogon folder of one of our DCs so that automatically replicates to all the others. From our logon scripts we call perl like this: %0\..\perl\bin\perl %0\..\whatever.pl This way, remote users pull perl.exe of their local DC instead of over the WAN. Works great. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roger Seielstad Sent: Friday, December 12, 2003 10:37 AM To: '[EMAIL PROTECTED]' Subject: RE: [ActiveDir] What is your favorite scripting language? Its got a lot of, well, interesting features to it, and it supports some object types that aren't available in VBScript. And its cross platform, which makes it handy to know. -- Roger D. Seielstad - MTS MCSE MS-MVP Sr. Systems Administrator Inovis Inc. -Original Message- From: Rich Milburn [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 10:29 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] What is your favorite scripting language? I'm afraid to ask... but... why is Perl the preferred language (besides it works on Unix/Linux)? Rich -Original Message- From: Joe [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:13 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] What is your favorite scripting language? But I did :oP joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robbie Allen (rallen) Sent: Thursday, December 11, 2003 8:52 PM To: [EMAIL PROTECTED] Subject: [ActiveDir] What is your favorite scripting language? O'Reilly is hosting a poll for the most popular scripting language on the Windows platform. To vote for your favorite language, visit the O'Reilly website (http://www.oreilly.com/) and look on the right side of the page under O'Reilly Poll. FYI, Perl has the early lead and no I didn't vote twice :-) Regards, Robbie Allen http://www.rallenhome.com/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir% 40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir% 40mail.activedir.org/ ---APPLEBEE'S INTERNATIONAL, INC. CONFIDENTIALITY NOTICE--- PRIVILEGED / CONFIDENTIAL INFORMATION may be contained in this message or any attachments. This information is strictly confidential and may be subject to attorney-client privilege. This message is intended only for the use of the named addressee. If you are not the intended recipient of this message, unauthorized forwarding, printing, copying, distribution, or using such information is strictly prohibited and may be unlawful. If you have received this in error, you should kindly notify the sender by reply e-mail and immediately destroy this message. Unauthorized interception of this e-mail is a violation of federal criminal law. Applebee's International, Inc. reserves the right to monitor and review
[ActiveDir] What is your favorite scripting language?
O'Reilly is hosting a poll for the most popular scripting language on the Windows platform. To vote for your favorite language, visit the O'Reilly website (http://www.oreilly.com/) and look on the right side of the page under O'Reilly Poll. FYI, Perl has the early lead and no I didn't vote twice :-) Regards, Robbie Allen http://www.rallenhome.com/ List info : http://www.activedir.org/mail_list.htm List FAQ: http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/