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
What's the GPO that enables remoting? Sent from my POS BlackBerry wireless device, which may wipe itself at any moment -Original Message- From: Steven Peck Date: Mon, 11 Jul 2011 10:58:13 To: NT System Admin Issues Reply-To: "NT System Admin Issues" Subject: Re: Power

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
mailto:kz2...@googlemail.com] Sent: Monday, July 11, 2011 12:10 PM To: NT System Admin Issues Subject: PowerShell query for AD group Is there a native PowerShell cmdlet for returning an AD group membership? Or do I need to get something like the Quest PowerShell extensions? -- "On two occasion

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

PowerShell query for AD group

2011-07-11 Thread James Rankin
Is there a native PowerShell cmdlet for returning an AD group membership? Or do I need to get something like the Quest PowerShell extensions? -- "On two occasions...I have been asked, 'Pray, Mr Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rig

Re: One more PowerShell query for the day

2011-07-05 Thread James Rankin
; *br...@briandesmond.com* ** > > * * > > *c – 312.731.3132* > > * * > > *From:* James Rankin [mailto:kz2...@googlemail.com] > *Sent:* Tuesday, July 05, 2011 9:39 AM > *To:* NT System Admin Issues > *Subject:* One more PowerShell query for the day > > **

RE: One more PowerShell query for the day

2011-07-05 Thread Brian Desmond
ilto:kz2...@googlemail.com] Sent: Tuesday, July 05, 2011 9:39 AM To: NT System Admin Issues Subject: One more PowerShell query for the day I've managed to get my little script workingbut I just have one more query, without being too cheeky... How would I get my script to write a quick

One more PowerShell query for the day

2011-07-05 Thread James Rankin
I've managed to get my little script workingbut I just have one more query, without being too cheeky... How would I get my script to write a quick comment out when no events are detected on the server being queried? At the minute it just writes the server name out and moves on to the next one.

Re: PowerShell query

2010-11-23 Thread Jonathan Link
I'm a bit addled this morning. I have used this book with great success. To me, it was implicit since I was passing on the recommendation, but sometimes people do that without having any skin in the game... On Tue, Nov 23, 2010 at 9:18 AM, Jonathan Link wrote: > Someone, maybe here on this list

Re: PowerShell query

2010-11-23 Thread Jonathan Link
Someone, maybe here on this list, recommended Windows Powershell in Action by Bruce Payette. I can't keep track of these things and gmail is giving me fits searching my mailstore, ATM. On Tue, Nov 23, 2010 at 9:11 AM, KenM wrote: > There are a few from manning that are realy good > > http://www

Re: PowerShell query

2010-11-23 Thread KenM
There are a few from manning that are realy good http://www.manning.com/siddaway/ http://www.manning.com/payette/ And also the powershell cookbook http://oreilly.com/catalog/9780596528492 And take a look at the powerscripting podcast. http://powerscripting.wordpress.com/ On Tue, Nov 23, 20

PowerShell query

2010-11-23 Thread James Rankin
Probably been asked a few times before, so I apologise, but what is a good recommendation for a book (or online resource) for learning PowerShell? I'm probably going to be providing cover for a couple of days over the Christmas week and wanted something to give me a break from reading *System Cente

RE: Really simple powershell query - text formatting...

2010-09-14 Thread Palmer, Neal
:\MigrationWork> From: Michael B. Smith [mailto:mich...@smithcons.com] Sent: 14 September 2010 13:08 To: NT System Admin Issues Subject: RE: Really simple powershell query - text formatting... There are a couple of ways to attack this. The easiest is probably to conti

RE: Really simple powershell query - text formatting...

2010-09-14 Thread Palmer, Neal
NT System Admin Issues Subject: Re: Really simple powershell query - text formatting... Sucker. Now off to the dungeon with you! On Tue, Sep 14, 2010 at 9:52 AM, William Robbins wrote: That was an animation? Damnit, I set off that fogger in my cube for no reason! They told me if I did that

Re: Really simple powershell query - text formatting...

2010-09-14 Thread Richard Stovall
Sucker. Now off to the dungeon with you! On Tue, Sep 14, 2010 at 9:52 AM, William Robbins wrote: > That was an animation? Damnit, I set off that fogger in my cube for no > reason! They told me if I did that again I'd have to move to the basement! > > - WJR > > > On Tue, Sep 14, 2010 at 07:08,

Re: Really simple powershell query - text formatting...

2010-09-14 Thread William Robbins
That was an animation? Damnit, I set off that fogger in my cube for no reason! They told me if I did that again I'd have to move to the basement! - WJR On Tue, Sep 14, 2010 at 07:08, James Rankin wrote: > Totally unrelated, buthow annoying is that animation in your signature? > > > On 1

RE: Really simple powershell query - text formatting...

2010-09-14 Thread Michael B. Smith
ailto:npal...@uwic.ac.uk] Sent: Tuesday, September 14, 2010 7:47 AM To: NT System Admin Issues Subject: Really simple powershell query - text formatting... Hi all, I'm trying to do the most simple of things, so I can start writing in Powershell instead of vbscript, but can't find a way t

Re: Really simple powershell query - text formatting...

2010-09-14 Thread James Rankin
Totally unrelated, buthow annoying is that animation in your signature? On 14 September 2010 12:46, Palmer, Neal wrote: > Hi all, > > > > I’m trying to do the most simple of things, so I can start writing in > Powershell instead of vbscript, but can’t find a way to do it… Basically I’m > pr

Really simple powershell query - text formatting...

2010-09-14 Thread Palmer, Neal
Hi all, I'm trying to do the most simple of things, so I can start writing in Powershell instead of vbscript, but can't find a way to do it... Basically I'm processing a large input stream (30k+ users from a remote data source) of text, in two columns of Variable Name and Variable Data, startin