Sunday, May 2, 2010

Getting Command Line Parameters Using Powershell

I'm just going to leave this here...
(gwmi win32_process -filter "name='powershell.exe'").commandLine

No comments:

Post a Comment