CURRENT STATUS: The forums you are now looking at are CLOSED. Visit the new forums.


Beginner PowerShell Website Integration

Creating PowerShell extensions in Visual Studio? Post here! Monitored by MVP Doug Finke.
Forum rules
1. Use the CODE or POWERSHELL buttons to format code and commands.
2. Avoid the use of obscure and punctuation aliases (like ? and %).
3. Don't apologize for being a "noob." We don't mind.
4. If we help you solve your question, please click the green SOLVED checkmark.

More forums tips & etiquette

Beginner PowerShell Website Integration

Postby NMayberry » Mon Oct 15, 2012 5:26 pm

Hey All,

I accepted a position a month ago to use PowerShell/PowerCLI full time and I am very excited to take a hobby to full time. After a month, I am looking at the possibility of needing to build a website that can run PowerShell/PowerCLI scripts. Coming from an Administrative background, I have very little experience with web development and need help with recommendations on whether I need to start on .NET, HTML5 or something else entirely. Appreciate any and all help on this.

Thanks,

Nathan Mayberry
NMayberry
 
Posts: 6
Joined: Wed Sep 26, 2012 5:50 pm

Re: Beginner PowerShell Website Integration

Postby JeffH » Tue Oct 16, 2012 1:23 pm

Is this something that PowerShell Web Access that you can get with v3 can accomplish for you?
Jeffery Hicks
PowerShell MVP
Blog | Twitter | G+ | LinkedIn | YouTube

"Those who forget to script are doomed to repeat their work."

Now Available: PowerShell in Depth: An Administrator's Guide
User avatar
JeffH
MVP
MVP
 
Posts: 129
Joined: Mon Aug 13, 2012 1:50 pm
Location: Syracuse, NY

Re: Beginner PowerShell Website Integration

Postby NMayberry » Tue Oct 16, 2012 3:50 pm

I am trying to see if a webpage can be a UI for my scripts similarly to .NET enabling you to build a GUI. My limited knowledge on PowerShell Web Access is that it is basically a remote console. Is it able to pass information between a webpage and servers using PowerShell?
NMayberry
 
Posts: 6
Joined: Wed Sep 26, 2012 5:50 pm

Re: Beginner PowerShell Website Integration

Postby Eric » Wed Oct 17, 2012 1:58 am

take a peek at poshboard www.poshboard.com which was highlighted on the powerscripting podcast http://powerscripting.wordpress.com/201 ... poshboard/
User avatar
Eric
 
Posts: 15
Joined: Fri Aug 17, 2012 3:16 pm
Location: lake tahoe

Re: Beginner PowerShell Website Integration

Postby DougFinke » Thu Oct 18, 2012 3:22 pm

Hi NMayberry,

Can you say a little more about what you're trying to do?

Do you want to have a user go to a web page and the content is driven by PowerShell on the back end?

Here is a post I did for a UI using the JQuery Datable. This all happens on the client and may not be what you are looking for.
http://www.dougfinke.com/blog/index.php/2011/02/15/how-to-send-powershell-output-to-a-jquery-interactive-datatable-in-a-web-browser/

Thanks
Doug
Doug's Book | Doug's Blog | PowerShell MVP
User avatar
DougFinke
MVP
MVP
 
Posts: 11
Joined: Mon Aug 13, 2012 1:24 pm
Location: New York City

Re: Beginner PowerShell Website Integration

Postby Eric » Thu Oct 18, 2012 5:05 pm

Nathan,

I think you need to be clearer how this should work. are you looking to view output of commands instantiated from a web request, or static output saved to a webserver? it sounded like you are looking for the web interface to Powershell. in that case powershell web access would be your easiest hook. if that is not an option you will be looking at building out a custom .net solution similar to the poshboard app i mentioned above.

can you be more specific on your requirements?
User avatar
Eric
 
Posts: 15
Joined: Fri Aug 17, 2012 3:16 pm
Location: lake tahoe

Re: Beginner PowerShell Website Integration

Postby NMayberry » Fri Oct 19, 2012 9:47 pm

Until now I did not have any requirements, just an inkling about what was coming down the pipe. (pun intended) Now I do have some requirements. I am going to try to figure out how from a webpage how to manage and schedule scripts that I have wrote to refresh VMs. Will need to have a calendar with existing scheduled items, intelligence to let you schedule only so many scripts up to a certain number, be able to schedule new jobs or edit existing ones, run now options and eventually have our client teams be able to manage there own areas with this webpage. Thanks for all the help!

Thanks,

Nathan Mayberry
NMayberry
 
Posts: 6
Joined: Wed Sep 26, 2012 5:50 pm


Return to PowerShell for Developers

Who is online

Users browsing this forum: No registered users and 1 guest