79581591

Date: 2025-04-18 19:20:11
Score: 1.5
Natty:
Report link

I realize this is an old thread, but I hit this query on google recently.

Here's how you do it:

$command = "Get-Process"
Invoke-Expression $command

Anything in your $command string will be invoked just like the user had written it.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jake Reusser