Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

 

When subscribed to the list you should use your standard email client to send your posts to ActiveDir@mail.activedir.org.

List Archives

Subject: [ActiveDir] disabling users
Prev Next
You are not authorized to post a reply.

Page 2 of 2<< < 12
AuthorMessages
AD00000900User is Offline

Posts:0

09/22/2005 6:37 AM  
Monad docs are really not out in any sort of usable context right now.
Especially since Microsoft released a new beta at PDC this month and it's a
whole lot different than the previous version (different as in better).
--------
Roger Seielstad
E-mail Geek
-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Peter Jessop
Sent: Wednesday, September 21, 2005 2:05 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: Re: [ActiveDir] disabling users

Tom

I think you should also consider Python. It has the following features.
1. Works well with windows
2. Very large functionality out of the box 3. Multi platform (Windows, Mac,
Linus, Unix, Palm, etc..) 4. Simple to learn - straight forward non cryptic
syntax 5. Very well supported 6. GUIs available

Inevitably one has to know VBScript as well because it is so widely used and
most Windows scripting is done in VBScript.

By the way does anyone know where Monad documentation can be found?

Peter Jessop
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
AD00000900User is Offline

Posts:0

09/22/2005 6:45 AM  
Honestly, I'd avoid perl like the plague. Its about the
least readable language on the planet - especially if you haven't touched a
script for a few months.
As was already suggested, python is a pretty good cross
platform option.

--------Roger SeielstadE-mail Geek

From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Tom
KernSent: Wednesday, September 21, 2005 3:56 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] disabling
users

you don't think one can get by in IT with just one lang?
can't you do everything in perl that you can do in _vbscript_ and then
some?
I'm sure you can get by on windows with just perl.
i'm in a multi platform enviorment and frankly i just don't have the time
to learn both _vbscript_ and perl.
i would end up just knowing both a little and badly.
my brain can't keep jumping from one to the other and in scripting, if you
don't use one lang for a while, you forget it.
in which case i'd just end up bugging you guys on this list again for
examples.
i'd like to get to the point where i can do it myself and trying to learn
both will never work for me.
i have a hard enough time keeping as much as i can about windows and AD and
exchange and some linux stuff in my head.
2 scripting langs will make my head explode. i'll never remeber them at
all.
i just need to learn one and devote myself to learning it well instead of
being a scripting jack of all trades and master of none.

as to perl books, then where can one lern COM on perl?

thanks alot guys! 
On 9/21/05, Brian
Desmond brian@xxxxxxxxxxxxxxxx>
wrote:
Joe
Richards might know some Win32 Perl resources._vbscript_ isn't
that hard, really. If you know the COM & ADSI stuff for Perl as far as
methods, names, etc, its just a different syntax for using it._vbscript_ you
have the advantage of the technet scriptcenter which hasexamples complete
enough to copy and paste together and run.I'm not a CS major
either, I don't even have any formal training in thisfield. The only
things I've been taught in a classroom are how to read,write, and do some
math. Everything I know I learnt going to work everyday and doing new
things, asking questions here and there around this list andother places.
I realized I needed to learn _vbscript_ and so I startedtackling projects
with _vbscript_s, and with a bit of work I got to be pretty good at it. I
still need a copy of the platform sdk on my other monitor toremember
methods, parameters, etc, but I know the syntax. That said, if I'mfeeling
lazy I still go and piece things together with scriptcenter
snippets.My point here is that it would probably be long
term beneficial to you to atleast be able to do simple things in _vbscript_
like read a file, run aexternal command, etc. As I said in my first
message, if you post what you have, I'll try and edit it as an example for
you.Thanks,Brian
Desmondbrian@xxxxxxxxxxxxxxxx> brian@xxxxxxxxxxxxxxxxc
- 312.731.3132_____From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx[mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Kern, TomSent:
Wednesday, September 21, 2005 4:30 PMTo: ActiveDir@xxxxxxxxxxxxxxxxxxSubject:
RE: [ActiveDir] disabling users I only have time to learn one
scripting lang.i figured perl is the better way to go as i have to
work with linux andsolaris as well.know of any good
docs,books,sites on perl and COM+ or adsi? something that will teach
you both like the _vbscript_ resources do?i really think there
is a market for perl and AD/win32 out there that
isuntapped.O'reilly has let most of their win32 perl books become
outdated and stop at Win NT as has Dave Roth.I'm not a
programmer and i don't have time to learn multipe scripting langs,so i
always thought perl would be the best way to go.I find it as
approachable as _vbscript_ but unlike _vbscript_, I don't find many rescources
for using it on win32 systems.I'm afraid learning perl and working
with windows might be an uphill battle.are there resources for
teaching you how to use perl withcdo,wmi,adsi,ado,etc?i'm not a
total newbie to perl, i've used it on linux but i've never reallydone much
on windows with activestate.and as i've said, i'm not a programmer and
i didn''t major in comp sci, so alot of this stuff is not second nature to
me and hasn't been pounded in for years.so jumping from lang to
lang for me is not really an
option.thanks-----Original
Message-----From: Brian Desmond [mailto:brian@xxxxxxxxxxxxxxxx ]Sent: Wed
9/21/2005 2:46 PMTo: ActiveDir@xxxxxxxxxxxxxxxxxxCc:Subject:
RE: [ActiveDir] disabling
users
tkernUser is Offline

Posts:8

09/22/2005 9:42 AM  
Anyway, now they just want to fill in the description attrib of the accounts in AD with something like "inactive. Don't Migrate" so they could filter by that in Quest instead of diabling the accounts.


so ,to get me started in my perl route, how would one go about doing that in perl?

Thanks again.
you guys help me out way too much.

sorry... 
On 9/22/05, Roger Seielstad wrote:

Honestly, I'd avoid perl like the plague. Its about the least readable language on the planet - especially if you haven't touched a script for a few months.

As was already suggested, python is a pretty good cross platform option.

--------Roger SeielstadE-mail Geek

From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Tom KernSent: Wednesday, September 21, 2005 3:56 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] disabling users 
you don't think one can get by in IT with just one lang?
can't you do everything in perl that you can do in _vbscript_ and then some?
I'm sure you can get by on windows with just perl.
i'm in a multi platform enviorment and frankly i just don't have the time to learn both _vbscript_ and perl.
i would end up just knowing both a little and badly.
my brain can't keep jumping from one to the other and in scripting, if you don't use one lang for a while, you forget it.
in which case i'd just end up bugging you guys on this list again for examples.
i'd like to get to the point where i can do it myself and trying to learn both will never work for me.
i have a hard enough time keeping as much as i can about windows and AD and exchange and some linux stuff in my head.
2 scripting langs will make my head explode. i'll never remeber them at all.
i just need to learn one and devote myself to learning it well instead of being a scripting jack of all trades and master of none.

as to perl books, then where can one lern COM on perl?

thanks alot guys! 
On 9/21/05, Brian Desmond wrote:
Joe Richards might know some Win32 Perl resources._vbscript_ isn't that hard, really. If you know the COM & ADSI stuff for Perl
as far as methods, names, etc, its just a different syntax for using it._vbscript_ you have the advantage of the technet scriptcenter which hasexamples complete enough to copy and paste together and run.
I'm not a CS major either, I don't even have any formal training in thisfield. The only things I've been taught in a classroom are how to read,write, and do some math. Everything I know I learnt going to work everyday
and doing new things, asking questions here and there around this list andother places. I realized I needed to learn _vbscript_ and so I startedtackling projects with _vbscript_s, and with a bit of work I got to be pretty
good at it. I still need a copy of the platform sdk on my other monitor toremember methods, parameters, etc, but I know the syntax. That said, if I'mfeeling lazy I still go and piece things together with scriptcenter
snippets.My point here is that it would probably be long term beneficial to you to atleast be able to do simple things in _vbscript_ like read a file, run aexternal command, etc. As I said in my first message, if you post what you
have, I'll try and edit it as an example for you.Thanks,Brian Desmond brian@xxxxxxxxxxxxxxxxc - 312.731.3132
_____From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx[mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Kern, TomSent: Wednesday, September 21, 2005 4:30 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: RE: [ActiveDir] disabling users I only have time to learn one scripting lang.i figured perl is the better way to go as i have to work with linux and
solaris as well.know of any good docs,books,sites on perl and COM+ or adsi? something that will teach you both like the _vbscript_ resources do?i really think there is a market for perl and AD/win32 out there that is
untapped.O'reilly has let most of their win32 perl books become outdated and stop at Win NT as has Dave Roth.I'm not a programmer and i don't have time to learn multipe scripting langs,
so i always thought perl would be the best way to go.I find it as approachable as _vbscript_ but unlike _vbscript_, I don't find many rescources for using it on win32 systems.I'm afraid learning perl and working with windows might be an uphill battle.
are there resources for teaching you how to use perl withcdo,wmi,adsi,ado,etc?i'm not a total newbie to perl, i've used it on linux but i've never reallydone much on windows with activestate.
and as i've said, i'm not a programmer and i didn''t major in comp sci, so alot of this stuff is not second nature to me and hasn't been pounded in for years.so jumping from lang to lang for me is not really an option.
thanks-----Original Message-----From: Brian Desmond [mailto:brian@xxxxxxxxxxxxxxxx
]Sent: Wed 9/21/2005 2:46 PMTo: ActiveDir@xxxxxxxxxxxxxxxxxxCc:Subject: RE: [ActiveDir] disabling users
tkernUser is Offline

Posts:8

09/22/2005 12:55 PM  
i'm the low quality admin joe is talking about.

so taking that into account, learning more than 1 lang is not possible now(just had a second kid too) and perl seems the most ideal to me. its cross platform and seems somehow more "real" as a programing lang than _vbscript_ to this uneducated admin, at least in learning program constructs and such...

however, i have been studying perl and  outside of linux/unix, there is little bang for my buck from the books i've been reading.
on windows, there doesn't seem to be much to do with perl when you're first trying to learn it as opposed to on linux(at least not from most of the o'reilly books i've read)
thats probably for me,beause while i know about com/adsi/wmi/activex, i don't know how to use them in anyway and i need a good primer that i can then use within perl in someway while i learn that.

i don't want to be the shody admin anymore...

thanks. thats my story and i'm sticking to it :) 
On 9/2/05, Ken Schaefer wrote:
I would also add that _vbscript_ itself is (a) quite simple and (b) quite limited. There's not much to learn, and what there is to learn is quite simple. The power comes from being able to use COM objects. But using COM objects (their methods and properties) is exactly the same from within perl as from within _vbscript_ (or JScript or any other language for that matter). So why use _vbscript_? There's an enormous array for pre-built scripts and tutorials out there. That's why people use _vbscript_ even through Windows Script Host supports JScript out-of-the-box as well (and JScript has extra functionality like Try¦Catch error handling and short-circuited condition checking etc).


Cheers
Ken


From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Brian DesmondSent: Thursday, 22 September 2005 9:29 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: RE: [ActiveDir] disabling users


No.

I happen to know _vbscript_, VB.Net, C#, some Java, little bit of C & C++, little bit of _javascript_, some PHP, T-SQL. I actually see a need to learn to write perl. I can read it well enough just knowing how to read various other programming languages. I could stand to learn to do C++ better too. I'm not a programmer, I just run a big AD deployment.


You'll find that _vbscript_ works on most any Windows box wheras perl you need the activestate stuff which you can't always install on the box.



Thanks,
Brian Desmond

brian@xxxxxxxxxxxxxxxx

c - 312.731.3132




From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Tom KernSent: Wednesday, September 21, 2005 6:56 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] disabling users


you don't think one can get by in IT with just one lang?

can't you do everything in perl that you can do in _vbscript_ and then some?

I'm sure you can get by on windows with just perl.

i'm in a multi platform enviorment and frankly i just don't have the time to learn both _vbscript_ and perl.

i would end up just knowing both a little and badly.

my brain can't keep jumping from one to the other and in scripting, if you don't use one lang for a while, you forget it.

in which case i'd just end up bugging you guys on this list again for examples.

i'd like to get to the point where i can do it myself and trying to learn both will never work for me.

i have a hard enough time keeping as much as i can about windows and AD and exchange and some linux stuff in my head.

2 scripting langs will make my head explode. i'll never remeber them at all.

i just need to learn one and devote myself to learning it well instead of being a scripting jack of all trades and master of none.


as to perl books, then where can one lern COM on perl?



thanks alot guys! 

On 9/21/05, Brian Desmond wrote:
Joe Richards might know some Win32 Perl resources._vbscript_ isn't that hard, really. If you know the COM & ADSI stuff for Perl
as far as methods, names, etc, its just a different syntax for using it._vbscript_ you have the advantage of the technet scriptcenter which hasexamples complete enough to copy and paste together and run.
I'm not a CS major either, I don't even have any formal training in thisfield. The only things I've been taught in a classroom are how to read,write, and do some math. Everything I know I learnt going to work everyday
and doing new things, asking questions here and there around this list andother places. I realized I needed to learn _vbscript_ and so I startedtackling projects with _vbscript_s, and with a bit of work I got to be pretty
good at it. I still need a copy of the platform sdk on my other monitor toremember methods, parameters, etc, but I know the syntax. That said, if I'mfeeling lazy I still go and piece things together with scriptcenter
snippets.My point here is that it would probably be long term beneficial to you to atleast be able to do simple things in _vbscript_ like read a file, run aexternal command, etc. As I said in my first message, if you post what you
have, I'll try and edit it as an example for you.Thanks,Brian Desmond
You are not authorized to post a reply.
Page 2 of 2<< < 12

Forums >ActiveDir Mail List Archive >List Archives > [ActiveDir] disabling users



ActiveForums 3.7
Friends

Friends

VisualClickButoton
Members

Members

MembershipMembership:
Latest New UserLatest:rana.b4523
New TodayNew Today:1
New YesterdayNew Yesterday:1
User CountOverall:5291

People OnlinePeople Online:
VisitorsVisitors:31
MembersMembers:0
TotalTotal:31

Online NowOnline Now:

Ads

Copyright 2012 ActiveDir.org
Terms Of Use