ScriptRunner 6 for Visual Studio CodeThe 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. FeaturesThis extension provides the following features for PowerShell script development:
RequirementsMake sure that the following requirements are met:
Extension settingsIn 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, 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. SupportThis extension is maintained by ScriptRunner Software GmbH. If you have questions or want to provide feedback, contact support@scriptrunner.com. Resources |