Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Run powershell script from Pentaho - execution privilege problem?

  1. #1

    Default Run powershell script from Pentaho - execution privilege problem?

    Hi,

    when running a powershell script it just stucks. On other machine that has not so strict policy setting the transformation runs well. If I run the execution string in cmd it finish sucesfully. Execution string is the following:
    HTML Code:
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe D:\path_toscritpt\tst-generate-conf-files-02.ps1
    The problem is the transformation is just stuck without giving any error.

    Powershell excution policy is currently set to 'Unrestricted'.

    Here is the pic from it:
    Last edited by mertez; 04-13-2016 at 08:03 AM.

  2. #2

    Default

    It is a powershell set up, nothing related to PDI.

    regards, Hugo

  3. #3

    Default

    It was not related to the powershell configuration but to the 'Process' component. I suspect that the component was not correctly closing the opened stream. I could solve the problem with implementing the execution of the script in a custom java component.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.