Web interface for my Powershell support scripts

I would like to have a web interface for my powershell scripts for reference.

These scripts are typically scripts and user creation scripts to restart a specific service on a specific server.

Where to begin? What I need?

For me there is no problem setting up IIS for this purpose. We also have Sharepoint on a dedicated server.

We hope for some tips for starting :)

+6
source share
3 answers

You can use the Powershell web access feature on Powershell V3.0 http://technet.microsoft.com/en-us/library/hh831611.aspx

This is a robust solution, factoring in IIS, security and shell access.

+4
source

Read this article, I will start by invoking the PowerShell command from a web page:

http://devinfra-us.blogspot.co.uk/2011/02/using-powershell-20-from-aspnet-part-1.html

+6
source

You can use PowerShell Remoting. You can open a PS session that looks like a local PS console, but it will work on a remote computer. You can type in the PS code, which must be executed remotely, and start running the ready-to-execute ps1 scripts to administer the SP there too. Look at these links, for example:

http://www.computerperformance.co.uk/powershell/powershell_remote.htm , http://blogs.technet.com/b/heyscriptingguy/archive/2011/11/17/learn-how-to-manage-remote- powershell-sessions.aspx

--- Ferda

-2
source

Source: https://habr.com/ru/post/911318/


All Articles