Out-Gridview can be used to select items if you are using powershell v3
Eg: $rc = (Get-ChildItem |out-gridview -OutputMode Multiple) Or $rc = (Get-ChildItem |out-gridview -OutputMode Single) From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Michael Leone Sent: 01 October 2014 12:49 To: powershell@lists.myitforum.com Subject: Re: [powershell] Formatting a ListBox On Tue, Sep 30, 2014 at 8:35 PM, Keith Garner (Hotmail) <keith.gar...@hotmail.com> wrote: Or even Out-GridView. J Because later on I do things with the entry selected, and I won't get that with Out-GridView ... ================================================ Did you know you can also post and find answers on PowerShell in the forums? http://www.myitforum.com/forums/default.asp?catApp=1 ***************************************************************************** This email and its attachments are confidential to the intended recipient. If this has come to you in error, please notify the sender immediately and delete this email from your system. You must take no action based on this email, nor must you copy or disclose it or any part of its contents to any person or organisation. Please note that email communications may be monitored. The registered office of Shop Direct Limited is First Floor, Skyways House, Speke Road, Speke, Liverpool, L70 1AB, registered number 04730752. Subsidiary companies of Shop Direct Limited include: Shop Direct Group Financial Services Limited (SDGFS) and Shop Direct Finance Company Limited (SDFC). The registered office of SDGFS and SDFC is Aintree Innovation Centre, Park Lane, Netherton, Bootle, L30 1SL, registered numbers 05200103 (SDGFS) and 04660974 (SDFC). SDFC is authorised and regulated by the Financial Conduct Authority. Shop Direct Contact Centres Limited (SDCC) and Shop Direct Home Shopping Limited (SDHS). The registered office of SDCC and SDHS is First Floor, Skyways House, Speke Road, Speke, Liverpool, L70 1AB, registered numbers 05330323 (SDCC), 04663281 (SDHS). All companies registered in England. ***************************************************************************** ================================================ Did you know you can also post and find answers on PowerShell in the forums? http://www.myitforum.com/forums/default.asp?catApp=1