Jump to content

powershell not found !!


DavidDoherty
 Share

Recommended Posts

Hi folks

I'm new to the forum and just getting my toes wet in the bash bunny world.

I am having a very strange error when running scripts. Basically, when something like the following (from WiPassDump) Q STRING powershelll -WindowStyle Hidden \$bunny\=\(gwmi win32_volume -f \'label=\\\"BashBunny\\\"\'\).NAME\; cd \$bunny\\loot\\WiPassDump\; netsh wlan export profile key=clear

I get the windows command prompt popping up and telling me that it cannot find powershel. That's powershell with one l, even though powershell has two ls in the script.

If I change the script to spell powershell with three Ls , i.e. powershelll, it works (it doesn't really , but i don't get the error message).

 

Anyone seen this before?

Regardss

 

D

Link to comment
Share on other sites

18 minutes ago, Sebkinne said:

If the above is your script, then you misspelled powershell. You have three "L"s.

He said it doesn't work unless he has 3 "L"s..
2 "L"s and it only puts in 1..

Am I missing something, or are you? I'm really worried I completely missed something blindingly obvious..

Link to comment
Share on other sites

Thanks to everyone who answered. Yes - it is weird that the script has the correct spelling of powershell (2 Ls) but it tries too execute powershel (with one L). Adding the third L seemms to fix it but taht is just too weird to have to deal with. I will check the keyboard setting and see if that fixes it.

 

Thanks again.

Link to comment
Share on other sites

11 hours ago, DavidDoherty said:

And the answer was the simplest. As the default language is US I changed it to UK and of course it all worked.

Thanks for the suggestion Dave-ee Jones, and everyone else.

No problem! Languages are a bit frustrating sometimes, you're not the first to have some weird thing like that happen, haha.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...