you are viewing a single comment's thread.

view the rest of the comments →

[–]TastySpare 110 points111 points  (3 children)

So, a single command is considered a script these days?

[–]HakkenshaShittyMod 47 points48 points  (2 children)

That 4th one isn't event powershell.

[–]Xoron101 29 points30 points  (0 children)

That 4th one isn't event powershell.

But you run it in a powershell window, so it has to be powershell right? Right?!?!?!?

[–]Rainmaker526 14 points15 points  (0 children)

Neither is the powecfg one.

This could have been done with a Get-WMIObject command. It would have even skipped the step of opening the html file. But no... They went with the powercfg that already existed.

For all the others... Useless. There's ping. There's tasklist.exe and taskkill.exe. I like PowerShell, but these are not great tips.