[progress Communities] [progress Openedge Abl] Forum Post: Re: Pipeline On Os-command

  • Thread starter Thread starter egarcia
  • Start date Start date
Status
Not open for further replies.
E

egarcia

Guest
Hello, The message that you are seeing seems to happen because cmd.exe (%ComSpec%) is processing two commands: 1) powershell.exe Get-ADUser -LDAPFilter '(displayName=John Doe)' -Properties Department 2) Select Name, Department You would need to change your command to be a single command for powershell.exe. Example: DEFINE VARIABLE cCommand AS CHARACTER NO-UNDO. cCommand = 'powershell.exe "Get-ChildItem C:\w* | Select Name"'. OS-COMMAND VALUE(cCommand). I hope this helps.

Continue reading...
 
Status
Not open for further replies.
Back
Top