header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left

[August 25th, 2008] Check the home page regarding PowerShell related news from a brand new sponsor: Idera

Menus
Last Post 30 Jan 2008 06:32 PM by marco.shaw. 2 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
TravisTXUser is Offline
New Member
New Member
Posts:1
Avatar

--
30 Jan 2008 05:57 PM  

Has anybody created any type of libraries that I can use in my powershell scripts to provide the user with a selection menu, similar to the menu that comes up in powertab?  If you are unfamiliar with powertab, it draws a nice menu of choices to the powershell console screen using ascii characters.  The user can use the arrow keys to select an option and hit enter.

Thanks,

Travis

DonJUser is Offline
PowerShell MVP
Basic Member
Basic Member
Posts:134
Avatar

--
30 Jan 2008 06:10 PM  
I haven't seen anything for a text-based menu, but I imagine you could pilfer some code from PowerTab if you wanted to. You could also do graphical stuff in Windows Forms easily enough - I did a chapter on it in PowerShell: TFM (2nd edition). A simple dialog with some buttons and keyboard accelerators is easy enough.
- Don Jones
www.ConcentratedTech.com
Subscribe (RSS) or visit for weekly PowerShell tips and lessons
marco.shawUser is Offline
Co-Community Director
Basic Member
Basic Member
Posts:188
Avatar

--
30 Jan 2008 06:32 PM  
It is relatively easy to create a simple menu, and having the user enter a key or number to pick a choice. Now, doing like PowerTab would be cool in a sense. I'd try it but don't have the time... Maybe leave a comment on www.thepowershellguy.com. Maybe Marc will find this interesting and blog about it.
Marco

*Microsoft MVP - Windows PowerShell: http://www.microsoft.com/mvp
*PowerGadgets MVP: http://www.powergadgets.com/mvp
*Blog: http://marcoshaw.blogspot.com
You are not authorized to post a reply.

Active Forums 4.1
right
   
footer Sponsored by Quest Software • SAPIEN Technologies • ShellTools, LLC • Microsoft Windows Server 2008 footer
footer