peewpw/Invoke-PSImage

the term 'xxxxxx' is not recognized as the name of a cmdlet

plissje opened this issue · 1 comments

Hi,
Trying to run this via a simple script, that will just 'write-output 123', and I'm getting an error when trying to execute the one-liner:
screenshot_3

any ideas? :)

I cannot reproduce this one. I would guess the encoding on your input file is wonky. Try recreating that file and see if that helps.

You can also try
[IO.File]::ReadAllText("C:\temp\Invoke-mimikatz.ps1")
and see if the script displays as expected. That is how the tool gets the script content to encode.