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

**URL:** <https://discourse.chef.io/t/getting-error-s-is-not-recognised-as-internal-and-externall-command/11912>\
**Category:** Chef Infra (archive)\
**Created:** [November 10, 2017, 12:26pm UTC](https://discourse.chef.io/t/getting-error-s-is-not-recognised-as-internal-and-externall-command/11912 "2017-11-10T12:26:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaibha.5](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@vaibha.5](https://discourse.chef.io/u/vaibha.5)\
**Post date:** [November 10, 2017, 12:26pm UTC](https://discourse.chef.io/t/getting-error-s-is-not-recognised-as-internal-and-externall-command/11912/1 "2017-11-10T12:26:26Z")

</div>

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:

1. 

```
[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.
```

---

<div class="post-metadata">

**Author:** ![cheeseplus](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/cheeseplus/32/960_2.png) [@cheeseplus](https://discourse.chef.io/u/cheeseplus)\
**Post date:** [November 14, 2017, 1:56pm UTC](https://discourse.chef.io/t/getting-error-s-is-not-recognised-as-internal-and-externall-command/11912/2 "2017-11-14T13:56:05Z")

</div>

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.
