enigma0x3 / Misc-PowerShell-Stuff

random powershell goodness

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"The term 'Invoke-EventVwrBypass' is not recognized as the name of a cmdlet, function, script file, or operable program."

FluentInDuwang opened this issue · comments

Let me preface this by saying that I've never even heard of Powershell before running this, so I may have made a rookie mistake.

I downloaded your "EventVwrBypass" script. If I understand correctly, I am supposed to run the script as-is and then input my command. In my case, I used:

Invoke-EventVwrBypass -Command "copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe"

I pasted this into Powershell's command line immediately after running the script, and received this error message:

Invoke-EventVwrBypass : The term 'Invoke-EventVwrBypass' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Invoke-EventVwrBypass -Command "copy /y c:\windows\system32\cmd.exe c ...
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Invoke-EventVwrBypass:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Again, this could be my mistake.