Error checking?  If errorlevel ...
Logging? Dsmod > error.log

Sheez, some people! <smirk>

<inside joke>
Do I need to go slower? :)
</inside joke>

Thanks


Webster

From: Michael B. Smith [mailto:mich...@smithcons.com]
Sent: Thursday, April 11, 2013 6:43 PM
To: NT System Admin Issues
Subject: RE: Query help

Do you want error checking?

Do you want logging?

You know by now - writing an enterprise quality script is a heck of a lot more 
effort than just putting in the commands that "should" do the job. :)

From: Webster [mailto:webs...@carlwebster.com]
Sent: Thursday, April 11, 2013 7:27 PM
To: NT System Admin Issues
Subject: RE: Query help

Can't you do all that with a few lines of dsadd group, dsmod group -c and some 
dsquery?  Just asking.

Thanks


Webster

From: Michael B. Smith [mailto:mich...@smithcons.com]
Subject: RE: Query help

PowerShell? :)

This sounds like a great thing for me on which to write a blog post. I'll do so 
tonight.

To do this efficiently, you have to combine the usage of Exchange and AD 
cmdlets.

The basic process is:

                Does group already exist?

                                No - create it

                                Yes - remove all members

                Get list of members to add

                Add the list of members

From: Heaton, Joseph@Wildlife [mailto:joseph.hea...@wildlife.ca.gov]
Subject: Query help

I've recently created a Org_all distribution group.  Somehow, I must have not 
added myself to it, as I didn't get a message from our Director this morning.  
But, that brought up the thought that I need to make sure everyone is a member 
of that distribution group.  With 3000 users, I don't want to do it manually.  
Any ideas?

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Reply via email to