Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ScriptRunner 6 for VS CodeNew to Visual Studio Code? Get it now.
ScriptRunner 6 for VS Code

ScriptRunner 6 for VS Code

ScriptRunner Software GmbH

|
1,144 installs
| (0) | Free
View and edit scripts of your ScriptRunner script repository.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ScriptRunner 6 for Visual Studio Code

The ScriptRunner 6 for VS Code extension allows you to bring ScriptRunner scripting functions to Visual Studio Code, making it easier for you to edit your PowerShell scripts. You can connect your ScriptRunner script repository directly to Visual Studio Code and edit your PowerShell scripts without having to switch between different applications.

Check out our Coding Guide for detailed information about the ScriptRunner extension for Visual Studio Code.

Features

This extension provides the following features for PowerShell script development:

  • Use Windows-integrated, Entra ID, or OpenID Connect authentication for login
  • View PowerShell script metadata
  • Create new PowerShell scripts directly in your ScriptRunner script repository
  • Create PowerShell scripts based on a template
  • Create new tags during creation/upload process
  • Upload local PowerShell scripts
  • Duplicate PowerShell scripts
  • Search for PowerShell script names
  • Check out PowerShell scripts
  • Edit PowerShell scripts
  • Use code auto-completion for dedicated ScriptRunner code snippets and parameter attributes
  • Check in PowerShell scripts
  • Filter for PowerShell scripts that you are allowed to edit
  • Discard changes and revert checkout
  • Show PowerShell script changes on check-in
  • Test your PowerShell scripts directly in Visual Studio Code with our SRXEnv module
  • Delete PowerShell scripts

Requirements

Make sure that the following requirements are met:

  • This version of ScriptRunner for VS Code only supports the ScriptRunner Web API service of the major release 6 starting from version 6.8.
  • You have licensed a ScriptRunner server.
  • You have configured the ScriptRunner server.
  • You have installed the PowerShell extension for Visual Studio Code.
  • You have been assigned the ScriptRunner Administrator or Main administrator role.
  • PowerShell scripts are available in the ScriptRunner script repository that you are allowed to view or edit.

Extension settings

In the Visual Studio Code settings under File > Preferences > Settings > Extensions > ScriptRunner 6 for VS Code, enter the ScriptRunner backend URI to connect to your ScriptRunner host. You can find the required URI in the ScriptRunner Portal by clicking the info button at the top right.

Enable the Install SRXEnv PowerShell Module setting if you want to test ScriptRunner features directly in Visual Studio Code. For more information, refer to our Coding Guide.

Specify the Loopback Server Port that should be used during the login process. This is an optional setting when using OpenID Connect as the authentication method and the port component cannot be ignored to match a redirect URI. In this case, http://localhost:<port> must explicitly added to the list of allowed redirect URIs.

Enter the Portal Configuration URI that points to the ScriptRunner Portal's app.json file if you have configured OpenID Connect or Entra ID authentication with ScriptRunner. For information on how to configure an authentication method, refer to our Server Guide.

Change the PowerShell Executable Path if the PowerShell executable file is in a different location on your client.

Enable the Skip Certificate Check setting if certificate validation should be skipped.

Support

This extension is maintained by ScriptRunner Software GmbH. If you have questions or want to provide feedback, contact support@scriptrunner.com.

Resources

  • ScriptRunner Coding Guide
  • How to use the ScriptRunner 6 for VS Code extension
  • ScriptRunner Action Packs
  • ScriptRunner Blog
  • How to configure user authentication in ScriptRunner.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft