ShinyPower!
secretGeek .:dot Nuts about dot Net:.
home .: about .: sign up .: sitemap .: secretGeek RSS

ShinyPower!

ShinyPower!

ShinyPower is a little C# app i wrote to automate browsing PowerShell's help files.

The source code and a new version are now available at CodePlex.

New Version out now! Works with Powershell Release Candidate 2 -- Available from CodePlex

If you still want to download the old version... well...

Requires PowerShell RC1 and the .Net Framework version 2.0

It's very rough, and is just a proof of concept really.

download ShinyPower!  Download ShinyPower (for RC1) (and then unzip) from here.

Q: Why 'Shiny?' A: Firefly.

Q: Any other C# tools/samples that automate Powershell?

A:This Turtle Logo application [called 'MSH Logo'] is wikid. Also, scott hanselman posted up a snippet recently.

The first step in automating powershell is to add a reference to System.Management.Automation.dll, which (for me) was located in:

C:\Program Files\Windows PowerShell\v1.0\

How to use 'ShinyPower'

how to use Shiny Power
  1. Select the type of help topic you want to read, from the drop down list, top left..
  2. Click on the particular help topic, from the listbox at left.
  3. Read the help (or syntax details) in the panes on the right.




'Derek Noonan' on Mon, 10 Jul 2006 07:26:17 GMT, sez:

Wow! Thanks a million ;)

DISCLAIMER: These opinions are my own personal opinions and do not necessarily reflect the opinions of Dell or any affiliated companies.



'http://' on Mon, 10 Jul 2006 10:57:26 GMT, sez:

I've been waiting for someone to do this.
10,000 thanks!


Jeffrey Snover [MSFT]
Windows PowerShell Architect
Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

PSMDTAG:DOCUMENTATION: GUI HELP
PSMDTAG:FAQ: Is there an XMAN for Windows PowerShell?



'Omer van Kloeten' on Mon, 10 Jul 2006 13:41:39 GMT, sez:

Firefly ftw! :)



'Keith Hill' on Mon, 10 Jul 2006 18:44:22 GMT, sez:

Very nice indeed!



'Martin' on Tue, 11 Jul 2006 04:22:03 GMT, sez:

Cool. Would you mind sharing the source? Would be a nice example on how to host Powerhell.



'lb' on Tue, 11 Jul 2006 04:45:43 GMT, sez:

>how to host Powerhell.

freudian typo ??

really my code is too dodgy to share!

here's an example of the heart of how shinyPower (help edition) works:

//First: add a reference to the powershell
//dll as described above ^^
using System.Management.Automation.Runspaces;

...
//in a function...

Runspace myRunSpace;
myRunSpace = RunspaceFactory.CreateRunspace();
myRunSpace.Open();
//This command will retrieve the syntax
// of the 'Out-File' cmdLet

Pipeline pipe = myRunSpace.CreatePipeline("get-Command Out-File | Format-List | out-string");
resultObject = pipe.Invoke();
string clearText = resultObject[0].ToString().Trim;
MessageBox.Show(clearText);



'Martin' on Wed, 12 Jul 2006 04:17:42 GMT, sez:

Thanks. And I doubt it was a freudian typo :-), because Powershell is the best shell I've ever seen. I got used to the limited DOS command prompt, the slightly better Windows cmd, and never felt at home in the various unix based shells, because their capabilities are difficult to discover and I never had the time to learn using them properly.

Powershell's discoverability is great, I can use the COM objects I know from Windows Scripting, the DOS commands I'm familiar with, have access to the complete .NET Framework Class library and can use WMI.

BTW, it would be nice if ShinyPower could include the various about_* help topics



'lb' on Wed, 12 Jul 2006 04:21:25 GMT, sez:

cheers martin --

to get to the about_* help topics, you use the combo box (top left) [point 1 on the picture above] -- it should selected them all... then you can view, for example:

"about_continue

SHORT DESCRIPTION
Immediately return to top of a program loop

LONG DESCRIPTION

In a scri..."



'lb' on Wed, 12 Jul 2006 04:24:19 GMT, sez:

but martin if that doesn't work for you, please tell me and send a screenshot to me: leonbambrick@gmail.com



'Martin' on Thu, 13 Jul 2006 16:24:23 GMT, sez:

Works. I didn't recognized the combo-box :-)



'Thomas Lee' on Wed, 23 Aug 2006 16:09:12 GMT, sez:

Nice app.

But it does not work here - you may need to change the code once RC2 hits.



'alex' on Thu, 28 Sep 2006 10:05:48 GMT, sez:

PowerShell RC2 has been released. Do you plan to recompile ShinyPower? That would be swell.



'Greg' on Sun, 01 Oct 2006 16:58:57 GMT, sez:

RC2 broke it. Please update it. It's really handy.



'Greg' on Sun, 01 Oct 2006 17:04:22 GMT, sez:

Better yet, release the source code. :)



'lb' on Sun, 01 Oct 2006 18:54:11 GMT, sez:

>Better yet, release the source code. :)

i'm thinkin about it... i'd love to put it up at codeplex. maybe in the meantime i can just release it via this blog.



'ShinyPower for RC2' on Tue, 03 Oct 2006 04:18:31 GMT, sez:

ShinyPower is now available for release candidate 2 -- see:
http://www.codeplex.com/Wiki/View.aspx?ProjectName=ShinyPower

(or click the link above)

source code coming soon.



'Greg' on Tue, 03 Oct 2006 18:40:51 GMT, sez:

Thanks a lot. Like I said, it's really handy.



'JustAGuy' on Mon, 09 Oct 2006 14:30:25 GMT, sez:

Mr. SecretGeek,
You should add a warning to this page for people who are using RC2 that they should download shinypower from this link http://www.codeplex.com/Wiki/View.aspx?ProjectName=ShinyPower



'johnvms' on Sun, 01 Jul 2007 08:05:56 GMT, sez:

Great utility. Very useful. Thanks!!!!!




name


website (optional)


enter the word:
 

comment (HTML not allowed)


All viewpoints welcome. But the right to delete any post for any reason is reserved. Don't make me do it. Comments may be republished, emailed to your loved ones or printed and used as toilet paper. Who reads this legal bit anyhow?

TimeSnapper is a life analysis system that stores and plays-back your computer use. It makes timesheet recording a breeze, helps you recover lost work and shows you how to sharpen your act.

TimeSnapper won last year's Developer Competition at Larkware.com, and is used by over 10,000 people.

Articles

The Movie Hollywood (And My Wife) Doesn't Want You To See: Weekend at Jacko's The Movie Hollywood (And My Wife) Doesn't Want You To See: Weekend at Jacko's
Sysi: the ultimate administrators toolkit Sysi: the ultimate administrators toolkit
Movie: Priest Academy Movie: Priest Academy
Inspirational Rat Story Inspirational Rat Story
A face-melting DSL that allows programming ON the iPhone (and iPad) A face-melting DSL that allows programming ON the iPhone (and iPad)
The secretGeek Disaster Recovery plan The secretGeek Disaster Recovery plan
Save KNVTn! Before it's too late Save KNVTn! Before it's too late
The Ultimate Agent of WERF Destruction The Ultimate Agent of WERF Destruction
The new prisoner's dilemma The new prisoner's dilemma
Original Premise for a road movie Original Premise for a road movie
What's a better game than Devshop? What's a better game than Devshop?
DevShop: The Cool Game that Makes Development Look Fun DevShop: The Cool Game that Makes Development Look Fun
Should be purple Should be purple
Kitchen Agile Kitchen Agile
Perhaps Perhaps "Go" is the new Visual Basic
zen-coding: turn those CSS selectors upside down zen-coding: turn those CSS selectors upside down
Debugging: It's all about finding Albuquerque. Debugging: It's all about finding Albuquerque.
The Real-Time online JQuery Editor The Real-Time online JQuery Editor
HTML5, a 3 minute guide HTML5, a 3 minute guide
Developer Codpieces Developer Codpieces
Agile for one: The Personal Story 'Wall' In Action Agile for one: The Personal Story 'Wall' In Action
Never work with thick people. Never work with thick people.
Cosmo: project status panel Cosmo: project status panel
Windows Search in Japan Windows Search in Japan
Project Management Zen Project Management Zen
Continuous Integration, Plugins and Going Too Far Continuous Integration, Plugins and Going Too Far
The Rules of Stand Up The Rules of Stand Up
Sydney International Airport: Stupid, Criminal, or Criminally Stupid? Sydney International Airport: Stupid, Criminal, or Criminally Stupid?
God No! ...The ReBuilder God No! ...The ReBuilder
Matt, The Office Mortar Matt, The Office Mortar
'Outlook style' rules for Subversion 'Outlook style' rules for Subversion
Really deep linking: Url + regex Really deep linking: Url + regex
hExcel -- A Hexagonal Spreadsheet hExcel -- A Hexagonal Spreadsheet
Is the remote control a thing of the past? Is the remote control a thing of the past?
The Utterly Thorough Guide To Awesome Application Compatibility on Windows 7. The Utterly Thorough Guide To Awesome Application Compatibility on Windows 7.
Astounding Hyperlinked Noticeboard Astounding Hyperlinked Noticeboard
Three Questions About Each Bug You Find Three Questions About Each Bug You Find
Recursing over the Pareto Principle... Recursing over the Pareto Principle...
Sometimes, The Better You Program, The Worse You Communicate. Sometimes, The Better You Program, The Worse You Communicate.

Archives .: secretGeek :: Complete Archives
TimeSnapper -- Automated Screenshot Journal TimeSnapper.com    
Version 3.3: true productivity boost

Next Action NextAction
Managing the top of your mind

World's Simplest Code Generator (html edition) World's Simplest Code Generator

25 steps for building a Micro-ISV 25 steps for building a Micro-ISV
3 minute guides -- babysteps in new technologies: powershell, JSON, watir, F# 3 Minute Guide Series
Universal Troubleshooting checklist Universal Troubleshooting Checklist
Top 10 SecretGeek articles Top 10 SecretGeek articles
ShinyPower (help with Powershell) ShinyPower
Now at CodePlex

Realtime CSS Editor, in a browser RealTime Online CSS Editor
Gradient Maker -- a tool for making background images that blend from one colour to another. Forget photoshop, this is the bomb. Gradient Maker


[powered by Google] 


How to be depressed How to be depressed
You are not inadequate.



Recommended Reading

The Best Software Writing I
The Business Of Software (Eric Sink)

Recommended blogs

Jeff Atwood
Reginald Braithwaite
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Rhys Parry
Joel Pobar
OJ Reeves
Eric Sink
Joel Spolsky
Des Traynor

Aggregated Links

programming.reddit.com
dzone
dot net kicks

Human Link Machines

interesting finds
a continuous learner's weblog
arjan's world
n links today
new and notable
morning coffee
learning .net
weekly link post
(my del.icio.us account)

LinkedIn profile
 
home .: about .: sign up .: sitemap .: secretGeek RSS .: © Leon Bambrick 2006 .: privacy

home .: about .: sign up .: sitemap .: RSS .: © Leon Bambrick 2006 .: privacy