Powreshell.exe to get full commandline of a specified process
2014-11-13 00:35
465 查看
can get info from local host or remote machine( need acces permission.)
Get-WmiObject Win32_Process -ComputerName localhost -Filter "Name like 'notepad%'" | Format-List -Property ProcessName, Path, CommandLine, WorkingSetSize
ProcessName : notepad.exe
Path : C:\Windows\system32\notepad.exe
CommandLine : "C:\Windows\system32\notepad.exe" abc.ext
WorkingSetSize : 8519680
Get-WmiObject Win32_Process -ComputerName localhost -Filter "Name like 'notepad%'" | Format-List -Property ProcessName, Path, CommandLine, WorkingSetSize
ProcessName : notepad.exe
Path : C:\Windows\system32\notepad.exe
CommandLine : "C:\Windows\system32\notepad.exe" abc.ext
WorkingSetSize : 8519680
相关文章推荐
- HOWTO: Get the command line of a process(转)
- CCommandLineInfo详解 和 ProcessShellCommand(cmdInfo)函数功能
- CCommandLineInfo详解 和 ProcessShellCommand(cmdInfo)函数功能
- How to get full URL of particular document
- GetProcessPebCommandLine
- How to Get Source Code of a Linux Command on CentOS
- [Shell]How to display text on specific line of text file
- C#中如何获取其他进程的命令行参数 ( How to get other processes's command line argument )
- How to get the source code of the chromium of the specified revision
- Use Flex and JavaScript to get the full path of a local File
- CCommandLineInfo详解 和 ProcessShellCommand(cmdInfo)函数功能
- CCommandLineInfo详解 和 ProcessShellCommand(cmdInfo)函数功能
- 一次PEDIY---修改Windows自带的calc.exe (Unable to read memory of debugged process......”错误提示)
- How to get the source code of the chromium of the specified revision
- How to get the full error stack trace of SharePoint
- C# 使用 Environment.GetCommandLineArgs 方法 制作*.exe和参数 供其他程序调用
- GetCommandLine CommandLineToArgvW
- How to Take Ownership of a File/Folder Using Command-Line in Windows 7 or newer version System
- How to extract msu/msp/msi/exe files from the command line