RE: PS export question

2012-08-07 Thread Joseph L. Casale
>Format-Table doesn't play nice with the pipeline past itself. Simply put, ft/fl are for viewing data. http://technet.microsoft.com/en-us/library/dd347677.aspx "Windows PowerShell has a set of cmdlets that allow you to control which properties are displayed for particular objects. The names of

RE: PS export question

2012-08-07 Thread Guyer, Don
0.271.9440 For immediate assistance, please open a Service Desk ticket or call the helpdesk @ 610-492-3839. [cid:image001.jpg@01CD7479.AADF2CF0] From: Steven Peck [mailto:sep...@gmail.com] Sent: Monday, August 06, 2012 4:26 PM To: NT System Admin Issues Subject: Re: PS export question Format-Tab

RE: PS export question

2012-08-06 Thread Jimmy Tran
Thank you. That worked like a charm. From: Christopher Bodnar [mailto:christopher_bod...@glic.com] Sent: Monday, August 06, 2012 11:29 AM To: NT System Admin Issues Subject: Re: PS export question Try this: get-qaduser |select displayname,PasswordLastSet|export-csv c:\temp\pw1.csv

Re: PS export question

2012-08-06 Thread Steven Peck
lpdesk @ 610-492-3839.* > > [image: Description: Description: Description: InfoService-Logo240] > > ** ** > > *From:* Steven Peck [mailto:sep...@gmail.com] > *Sent:* Monday, August 06, 2012 3:18 PM > > *To:* NT System Admin Issues > *Subject:* Re: PS export question > &g

RE: PS export question

2012-08-06 Thread Guyer, Don
-3839. [cid:image001.jpg@01CD73E8.2568BB40] From: Steven Peck [mailto:sep...@gmail.com] Sent: Monday, August 06, 2012 3:18 PM To: NT System Admin Issues Subject: Re: PS export question oO Ya, don't use Format-Table. Format-Table will display to the screen but won't go to the file

Re: PS export question

2012-08-06 Thread Steven Peck
oO Ya, don't use Format-Table. Format-Table will display to the screen but won't go to the file. For this you can use Select-Object. Select-Object has some other side effects that aren't important in this context. I tested with $user = Get-QADUser -sizelimit 0 $user | select displayname, na

RE: PS export question

2012-08-06 Thread Guyer, Don
How about: Get-QADuser| Format-Table displayname, passwordlastset | Out-File C:\PasswordLastSet.Csv Regards, Don Guyer Catholic Health East - Information Technology Enterprise Directory & Messaging Services 3805 West Chester Pike, Suite 100, Newtown Square, Pa 19073 email: dgu...@che.org

Re: PS export question

2012-08-06 Thread Christopher Bodnar
Try this: get-qaduser |select displayname,PasswordLastSet|export-csv c:\temp\pw1.csv Christopher Bodnar Enterprise Achitect I, Corporate Office of Technology:Enterprise Architecture and Engineering Services Tel 610-807-6459 3900 Burgess Place, Bethlehem, PA 18017 christopher_bod...@glic.c