简体   繁体   中英

Manipulate Windows Process Input/Output Stream with Powershell?

Is there any builtin functionality with Powershell that allows you to examine system processes in great detail, and view/manipulate its I/O stream? Are there any community modules? Has anybody worked with process streams and know of any good references for such work?

The standard cmdlets provided by powershell allows you basic operations on processes. Get-Process cmdlet returns all running processes objects with detailed information about the process. You can also get the modules that the process loaded using the parameter -Module . You can use start/stop process cmdlets to manage the list of running processes.

However, the returned objects give you all information you may search for. Get-Process returns objects as System.Diagnostics.Process , while Get-Process -Module returns objects as System.Diagnostics.ProcessModule .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM