These are some frequently asked questions regarding PowerShell Server. If you do not find what you are looking for, or need additional assistance, please use our support form to contact us and you will receive prompt assistance from a member of our team.


  • How can I Configure PowerShell ASP to work on IIS 7?

    Applies to: PowerShell Web Publishing

    1. In the site or virtual directory, double click on Handler Mappings.
    2. In the Actions pane, click “Add Managed Handler…”.
    3. Use *.ps1x as the request path, and select nsoftware.PowerShellASP.PSHandler as the type. Give it a name, i.e. “PowerShellASP”, set any restrictions you want, and click OK.
  • How do I add and use PowerShell modules in PowerShell ASP?

    Applies to: PowerShell Web Publishing

    PowerShell modules can be easily included in PowerShell ASP. Simply call Import-Module the same way that you would from command-line script.

  • Can PowerShell ASP be used with identity impersonation?

    Applies to: PowerShell Web Publishing

    When you execute a PowerShell pipeline, internally a runspace creates a secondary thread to execute it which does not inherit the credentials of the ASP.NET Thread.

    According to this MSDN post ( blogs.msdn.com/powershell/archive/2007/09/10/impersonation-and-hosting-powershell.aspx):

    “you can configure ASP.Net to flow the impersonation token to newly created threads by using ‘alwaysFlowImpersonationPolicy’ and ‘legacyImpersonationPolicy’ configuration elements in aspnet.config file”.

    Note: Windows Authentication must be enabled for the site in IIS for impersonation to function.

  • What versions of PowerShell will PowerShell server work with?

    Applies to: All

    Yes. PowerShell Server works with PowerShell V2 and up. During installation you will have the option to choose which version you want to support. PowerShell V3 or higher is recommended if available.

  • How do I handle permissions restrictions when executing cmdlets in PowerShell ASP?

    Applies to: Web Publishing

    To enable permissions restrictions you can use native .NET identity impersonation.

  • How do I use MS Exchange Cmdlets with PowerShell Server?

    Applies to: All

    PowerShell Server can be used to connect to the server via SSH and run Exchange commands. Please see this article for details on how to accomplish this.

  • How do I use Quest AD Cmdlets with PowerShell Server?

    Applies to: All

    Please see this article for details on using Quest Active Directory Cmdlets with PowerShell Server.

  • Does PowerShell Server comply with FIPS 140-2 cryptography standards?

    Applies to: All

    Yes, PowerShell Server complies with Federal Information Processing Standards (FIPS 140-2) cryptography requirements. This article explains how to enable FIPS compliant mode within PowerShell Server

  • What’s the difference between PowerShell Server and PowerShell Remoting?

    Applies to: All

    This article explains the differences between PowerShell Server and PowerShell Remoting via WinRM.

  • How can I get the current user name when using PowerShell Server?

    Applies to: All

    This article discusses how to obtain current user information from PowerShell Server.

  • How can I use the SCP functionality included in PowerShell Server?

    Applies to: All

    Instructions on how to upload and download files using SCP through PowerShell Server can be found within this article.

  • Can I modify the SFTP functionality to suit my needs?

    Applies to: All
    PowerShell Server provides an advanced SFTP scripting technique where a PowerShell script can be used to customize the SFTP functions. This article details how to enable and modify this functionality.

  • How can I access remote network resources through PowerShell Server?

    Applies to: All
    In order to access remote network resources while using PowerShell Server you will need to enable the Interactive Logon option. This article contains additional information on how to enable this setting.

  • How can I build a PowerShell ASP page to list the current sessions for machines on an Active Directory domain?

    Applies to: All
    This article outlines using PowerShell Server along with PSTerminalServices to create a webpage that lists the current sessions for machines on an Active Directory domain.