Skip to main content
Question Protected by Ramhound
Tweeted twitter.com/super_user/status/1204007931198529537
added 6 characters in body
Source Link
DavidPostill
  • 158.5k
  • 77
  • 365
  • 408

how i can run this command from cmd :

powershell.exe "(get-process | ? {$_.Description -eq "Sysinter Process Explorer"}) | select processname | out-file $env:APPDATA\fuckAPPDATA\example.txt"

i still get this error :

You must provide a value expression on the right-hand side of the '-eq' operato r. At line:1 char:37

  • (get-process | ? {$_.Description -eq <<<< Sysinternals Process Explorer}) | select processname | out-file $env:APPDATA\fuckAPPDATA\example.txt
    • CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordEx ception
    • FullyQualifiedErrorId : ExpectedValueExpression

how i can run this command from cmd :

powershell.exe "(get-process | ? {$_.Description -eq "Sysinter Process Explorer"}) | select processname | out-file $env:APPDATA\fuck.txt"

i still get this error :

You must provide a value expression on the right-hand side of the '-eq' operato r. At line:1 char:37

  • (get-process | ? {$_.Description -eq <<<< Sysinternals Process Explorer}) | select processname | out-file $env:APPDATA\fuck.txt
    • CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordEx ception
    • FullyQualifiedErrorId : ExpectedValueExpression

how i can run this command from cmd :

powershell.exe "(get-process | ? {$_.Description -eq "Sysinter Process Explorer"}) | select processname | out-file $env:APPDATA\example.txt"

i still get this error :

You must provide a value expression on the right-hand side of the '-eq' operato r. At line:1 char:37

  • (get-process | ? {$_.Description -eq <<<< Sysinternals Process Explorer}) | select processname | out-file $env:APPDATA\example.txt
    • CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordEx ception
    • FullyQualifiedErrorId : ExpectedValueExpression
Source Link
Qassam Mahmoud
  • 1.1k
  • 2
  • 9
  • 10

run powershell command from cmd

how i can run this command from cmd :

powershell.exe "(get-process | ? {$_.Description -eq "Sysinter Process Explorer"}) | select processname | out-file $env:APPDATA\fuck.txt"

i still get this error :

You must provide a value expression on the right-hand side of the '-eq' operato r. At line:1 char:37

  • (get-process | ? {$_.Description -eq <<<< Sysinternals Process Explorer}) | select processname | out-file $env:APPDATA\fuck.txt
    • CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordEx ception
    • FullyQualifiedErrorId : ExpectedValueExpression