Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Run powershell using tSystem component

Talend community

Can you help us figure this out?  We are using the tSystem component and have the correct code to initiate the powershell (we see that talend open powershell) but it does not pass the actual script.  It just opens and closes.  We are able to run this in powershell so just want to use talend run...

 

Thanks in advance

 

Run and code command

0683p000009M9HD.jpg

Powershell (no code displayed):

0683p000009M8sG.jpg

1 Solution

Accepted Solutions
fdenis
Master
Master

command is inline command
you may throw command line (powershell.exe -interactive -File .\test.ps) into PowerShell or use an array of command

View solution in original post

4 Replies
fdenis
Master
Master

we need more details to help you.
screenshot, errors, copy of java code, something

regards,
Anonymous
Not applicable
Author

I just sent a few screenshots.  This is the code:

 

cmd /c start powershell -interactive C://Users//jlocke//Architecture//AD//PowershellScripts//TotalUsersInADFull.ps1"

 

 

fdenis
Master
Master

command is inline command
you may throw command line (powershell.exe -interactive -File .\test.ps) into PowerShell or use an array of command
Urba34
Contributor
Contributor

Hello i trie to apply your recommandation in my own project but is not working, can you help me ? Thanks a lot