Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
how to run powershell scripts in nifi
Labels:
- Labels:
-
Apache NiFi
New Contributor
Created ‎03-30-2017 12:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got to know that executeprocess supports running powershell scripts and commands.So I gave the command as "powershell.exe" and command argument as the path of the file.But I'm getting error like "powershell command not found". It will be really great if anyone could help me with examples on how to run powershell scripts in nifi
1 REPLY 1
Master Guru
Created ‎03-30-2017 12:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try using the full path to powershell.exe as the command, rather than just "powershell.exe". It looks like the JVM doesn't have access to the same PATH variable that includes the location of that executable.
