running powershell commands from a webpage server side RRS feed

  • Question

  • how can i use power shell commands on a web page and they run on the same server

    for example user can input a local user account name and in the  in the web page ,

    in the back on the local server this command executed:

    Get-LocalUser -Name "AdminContoso02"

    and the output result should display in the web page for the user:

    Name             Enabled Description
    ----             ------- -----------
    AdminContoso02   True    Description of this account.

    • Moved by Bill_Stewart Monday, March 12, 2018 8:36 PM This is not "research stuff for me" forum
    Tuesday, January 23, 2018 7:35 AM

All replies