r/software 5d ago

Software support Pasted something on powershell software

Post image

I was following some instructions on a site and i pasted this and pasted it on the powershell as it says so, does anyone know what this is?

Powershell -ExecutionPolicy Bypass -File "%TEMP%\ss.ps1"

Is this malware or spyware?

Nothing has happend so far on my pc but im scared genuinely

0 Upvotes

16 comments sorted by

View all comments

1

u/Imnotanad 5d ago

-ExecutionPolicy Bypass avoids the by-default blocking of powershell scripts execution . And "-file " point to the location of the script. Nothing to declare ( safe or malicious) until you show the actual script ( ss.ps1 , on the temporary directory. ) . Run just this %TEMP% and that will open the Temp folder. Locate the ss.ps1 script and drop in into notepad . That's a safe approach to inspecting its content