RE: PowerShell query for AD group

2011-07-11 Thread Michael B. Smith
: Art DeKneef [mailto:art.dekn...@cox.net] Sent: Monday, July 11, 2011 2:37 PM To: NT System Admin Issues Subject: RE: PowerShell query for AD group I got Learn PowerShell in a Month of Lunches after seeing Don at a local Microsoft event. I found the book helpful and useful since I was learning

Re: PowerShell query for AD group

2011-07-11 Thread Steven Peck
e common commands I have saved to reuse whenever I need them. > > Art > > -Original Message- > From: Joseph Heaton [mailto:jhea...@dfg.ca.gov] > Sent: Monday, July 11, 2011 10:28 AM > To: NT System Admin Issues > Subject: Re: PowerShell query for AD group > > Stev

RE: PowerShell query for AD group

2011-07-11 Thread Art DeKneef
oseph Heaton [mailto:jhea...@dfg.ca.gov] Sent: Monday, July 11, 2011 10:28 AM To: NT System Admin Issues Subject: Re: PowerShell query for AD group Steven, Thank you immensely for these links. I am definitely going to check out the e-books, as I've been wanting to learn PS for a long time.

Re: PowerShell query for AD group

2011-07-11 Thread Steven Peck
; *ReplyTo: * "NT System Admin Issues" < > ntsysadmin@lyris.sunbelt-software.com> > *Subject: *Re: PowerShell query for AD group > > Haven't read that one. I would say check out the Admin Crash course and > and v2 owners manual for introductory overviews on the

Re: PowerShell query for AD group

2011-07-11 Thread kz20fl
. Smith > >> > >> Consultant and Exchange MVP > >> > >> http://TheEssentialExchange.com > >> > >> ** ** > >> > >> *From:* James Rankin [mailto:kz2...@googlemail.com] > >> *Sent:* Monday, July 11, 2011 12:48

Re: PowerShell query for AD group

2011-07-11 Thread Steven Peck
gt;> > >> Consultant and Exchange MVP > >> > >> http://TheEssentialExchange.com > >> > >> ** ** > >> > >> *From:* James Rankin [mailto:kz2...@googlemail.com] > >> *Sent:* Monday, July 11, 2011 12:48 PM > >> > >

Re: PowerShell query for AD group

2011-07-11 Thread Joseph Heaton
;> Michael B. Smith >> >> Consultant and Exchange MVP >> >> http://TheEssentialExchange.com >> >> ** ** >> >> *From:* James Rankin [mailto:kz2...@googlemail.com] >> *Sent:* Monday, July 11, 2011 12:48 PM >> >> *To:* NT System Admin Is

Re: PowerShell query for AD group

2011-07-11 Thread kz20fl
ssues Reply-To: "NT System Admin Issues" Subject: Re: PowerShell query for AD group List of free eBooks for you. http://www.hofferle.com/archives/624 http://www.blkmtn.org/ <- left hand block has some links to various resources on powershell I find useful. On Mon, Jul 11, 2011 at 9:5

Re: PowerShell query for AD group

2011-07-11 Thread Steven Peck
t;> http://TheEssentialExchange.com >> >> ** ** >> >> *From:* James Rankin [mailto:kz2...@googlemail.com] >> *Sent:* Monday, July 11, 2011 12:48 PM >> >> *To:* NT System Admin Issues >> *Subject:* Re: PowerShell query for AD group >>

Re: PowerShell query for AD group

2011-07-11 Thread James Rankin
t; > http://TheEssentialExchange.com > > ** ** > > *From:* James Rankin [mailto:kz2...@googlemail.com] > *Sent:* Monday, July 11, 2011 12:48 PM > *To:* NT System Admin Issues > *Subject:* Re: PowerShell query for AD group > > ** ** > > Thanks for that confirma

RE: PowerShell query for AD group

2011-07-11 Thread Michael B. Smith
Exchange has Get-Group and Get-DistributionGroup. The AD cmdlets have Get-ADGroup. And it's trivial to do with ADSI. I wouldn't install the Quest cmdlets just for that. Regards, Michael B. Smith Consultant and Exchange MVP http://TheEssentialExchange.com From: James Rankin [mailto:kz2...@goog

RE: PowerShell query for AD group

2011-07-11 Thread Michael B. Smith
Generally you use the select-object (alias: select) statement. Regards, Michael B. Smith Consultant and Exchange MVP http://TheEssentialExchange.com From: James Rankin [mailto:kz2...@googlemail.com] Sent: Monday, July 11, 2011 12:48 PM To: NT System Admin Issues Subject: Re: PowerShell query

Re: PowerShell query for AD group

2011-07-11 Thread James Rankin
Thanks for that confirmation Another of my PowerShell noob queries again if I may be so bold..how can you "skip" lines of output from PowerShell like you used to be able to do with the *skip *parameter in an old *for /f *command? (Yes, I am just trying to upgrade my batch scripting skills stra

Re: PowerShell query for AD group

2011-07-11 Thread Steven Peck
If you have 2008 AD controllers yes. http://technet.microsoft.com/en-us/library/ee617195.aspx I have found the Quest AD cmdlets are easier to use. This may be because I have used them longer or that they have been around longer and have had features added to them. There is als the posibility to