PowerShelling in your application

Published 28 September 09 08:42 AM | Coding4Fun 

Windows_PowerShell_icon If you have a PowerShell script that you need run from your application and didn’t know quite how to accomplish the feat, Cody Batt has an example of doing this at DevX.  Cody goes in and talks about about calling PowerShell with a quick example of getting the running processes.

The process of being able to do this may make a few feel a bit uncomfortable since you need to manually go in and alter your project file in notepad and add in a reference to System.Management.Automation.

If you want to check out more about PowerShell, the following sites should help out:  http://powershell.com/cs/ps/overview.aspx, http://thepowershellguy.com/blogs/posh/, http://blogs.msdn.com/powershell/.

Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

Search

This Blog

Syndication

Page view tracker