ScriptRunner 2020PS7

Feature Overview of Version 2020PS7

  • Updated Framework: ScriptRunner is a .NET 4.7.2 application.
  • Update installation requires a 2019 ScriptRunner version
  • Added an optional PowerShell Core Host (pwsh/SRXPSCoreHost.exe)
    •  PowerShell 7.0.0
    • Add SSH keyfile Credentials representing an SSH key file.
    • Add SSH Target connections.
  • Specify multiple Targets for an Action, and allow an executing user (even delegate users) to interactively select the effective Target for execution from this list.
  •  Added Target chains to implement admin jump hosts (that can be additionally secured using JEA) - and much more.
  • Added predefined target connections to Exchange Online using EXO V2 (ExchangeOnlineManagement module), to Teams using Microsoft Teams, and an option to define own cloud service connections with custom connect and disconnect PowerShell code.
  • Added [PSCustomObject] and [Hashtable] type script parameters: Declare these types in the PARAM block to transfer Hashtable or PSCustomObject objects from a query result into your script.
  • Add PSSession (and CimSession) type script parameters: Declare types [System.Management.Automation.Runspaces.PSSession] or [Microsoft.Management.Infrastructure.CimSession] in the PARAM block to get a ready-to-use connection from a configured Target instance. Selection target collections allow to select a Target for execution from a predefined list.
  • Experimental: Add Hyper-V, Container, and CimSession target connections.
  •  [PSCredential] type script parameters can no longer be selected from the Run wizard, but must be a priori set from Action configuration, improving credential security.
  • Add ScriptRunner/api2/StartAction API for Microsoft Flow and Azure Logic Apps, and an option to export respective OpenAPI (aka Swagger) files from the Admin App.
  • Minor fixes and improvements:
    • Fix SRXStartedBy value for Self Service users.
    • Ignore [switch] parameter default values.
    • NEW Action wizard will ignore LIB tagged scripts, because they are not intended for Actions anyway.
    • Write denied requests with detailed error to the Windows Eventlog.
    • Apps: Fix paste issues with newline characters.
    • ISE Add-On: Add -force parameter to skip version check; shorten user AppData path for temporary local files.
    • ScriptRunnerSettings: Fix STS options case handling; fix cmdlet signature.