1. Go to Workflow > New Workflow > External Actions > Execute Windows Script.
    2. Drag and drop the Execute Windows Script action into the workspace. In the pop-up, configure the Name, Destination Device and Command Line.
    3. In Script Body, enter the powershell script shown below:

      Set objShell = CreateObject("Wscript.Shell")
      objShell.Run("powershell.exe -noexit c:\scripts\test.ps1")

    4. Click OK.