Getting error '-s' is not recognised as internal and externall command?

Hi ,

Actually while executing Sqlplus -s/@instance local from perl file its working fine on node. But the same script is giving the error

By continuing this conversation, I agree that any conversation which includes users from the United States, Puerto Rico or Canada will be archived for legal preservation. I further agree to follow applicable policies governing visual and audio recordings.

  • powershell_script[rcvtst] action run[2017-11-10T07:18:12-05:00] INFO: Processing powershell_script[rcvtst] action run (OrawinDbcreate:
[execute] '-s' is not recognized as an internal or external command,operable program or batch file.
          '-s' is not recognized as an internal or external command,
          operable program or batch file.

We don’t have much context to go on there but it appears that whatever the execute block is passing to the Poweshell isn’t working as you believe it is - you’d need to troubleshoot the powershell script. It’s hard to tell where the error is coming from, let alone if it’s a chef-client/cookbook problem.