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

  • Thread starter Thread starter Peterson de Carvalho
  • Start date Start date
Status
Not open for further replies.
P

Peterson de Carvalho

Guest
I'm trying to run a simple command line (PowerShell) that uses the pipeline once. But the terminal appears to interpret what follows the pipe as a new command and not as something that will use the previous output. This is the command line: ASSIGN command = "powershell.exe Get-ADUser -LDAPFilter '(displayName=John Doe)' -Properties Department | Select Name, Department". The output is: 'Select' is not recognized as an internal or external command, operable program or batch file. Is there something that can be done in order to use the pipeline properly within OS-COMMAND? Thank you all.

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