Tuesday, April 13, 2010 3:27 PMI am building a web interface for Active Directory for a school project. (It will NOT touch the Internet, it is for intranet use.) I want to click a "button" on my interface and execute a PowerShell script on a server. (example: Clicking on "AD Users" would execute a PS script to get a list of users) Does anyone know a good approach to accomplish this? I can nandle writing the PowerShell scripts, I am just not sure what the best way to call them from a web interface would be. Any reference or information would be appreciated.
Tuesday, April 13, 2010 3:46 PM
Tuesday, April 13, 2010 3:53 PMModerator
Have you looked at Quest's MobileShell?
Tuesday, April 13, 2010 4:02 PM
Tuesday, April 13, 2010 6:28 PMThanks for the suggestion. I will check it out.
Tuesday, April 13, 2010 7:27 PMThe Quest MobileShell is along the lines of what I am trying to accomplish, but I've already made my own HTML interface.
Tuesday, April 13, 2010 9:55 PM
i am actually working on a simillar project , i'm planning to publish it as an open source in codeplex
the idea is that you have to know another programming language like VB , C# ... in my case i used ironpython
ASP.NET , while ironpython calls powershells command using system.managment.automation through runspace
iron python only handles the web interface stuff , like button click events , and handling output stuff from powershell
you can convertto-html cmdlet from powershell it will make your life alot easier :)
- Marked As Answer by Igor948 Wednesday, April 14, 2010 1:50 AM
Tuesday, May 08, 2012 10:51 AM
How did you go with this, i realise it was a while ago and i am just about to embark on almost exactly the same path....
I want to create an easy way for support staff to modify users with out giving them rights to AD.
Tuesday, May 08, 2012 2:49 PM
Her is a functional link teh teh Powershell ASP blog - th elink in the blog is bad but the second one here works.