en-US/ProcessDrive.dll-Help.xml
|
<?xml version="1.0" encoding="utf-8"?>
<helpItems xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" schema="maml" xmlns="http://msh"> <command:command> <command:details> <command:name>New-ProcDrive</command:name> <maml:description> <maml:para>Creates a PSDrive for navigating the Windows process tree.</maml:para> </maml:description> <command:verb>New</command:verb> <command:noun>ProcDrive</command:noun> </command:details> <maml:description> <maml:para>Mounts the Windows process tree as a PowerShell drive. A CLI alternative to Process Explorer (procexp.exe). Navigate parent-child process hierarchy with cd/dir, and browse each process's Modules, Threads, Services, and Network connections as virtual folders.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-ProcDrive</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>Drive name. Defaults to "Proc" if omitted.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>Drive name. Defaults to "Proc" if omitted.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <dev:name>None</dev:name> </dev:type> <maml:description> <maml:para /> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <dev:name>System.Management.Automation.PSDriveInfo</dev:name> </dev:type> <maml:description> <maml:para>The created PSDrive object.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para>The process tree is built from WMI and cached for 10 seconds. Use `dir -Force` to discard the cache and fetch fresh data. Modules and Services are also cached per process.</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>--------- Example 1: Mount with default name ---------</maml:title> <maml:introduction> <maml:para>```powershell New-ProcDrive cd Proc:\ dir ```</maml:para> <maml:para>Creates the Proc:\ drive and lists root processes.</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 2: Mount with custom name ---------</maml:title> <maml:introduction> <maml:para>```powershell New-ProcDrive MyProc cd MyProc:\ ```</maml:para> <maml:para>Creates the drive as MyProc:\.</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 3: Get detailed process properties ---------</maml:title> <maml:introduction> <maml:para>```powershell Get-Item Proc:\devenv_24032 | Format-List * ```</maml:para> <maml:para>Displays CPU, memory, I/O statistics, file version, and other detailed properties.</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 4: List loaded DLLs ---------</maml:title> <maml:introduction> <maml:para>```powershell dir Proc:\chrome_21236\Modules ```</maml:para> <maml:para>Shows all DLLs loaded by the chrome process.</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 5: Search for a process ---------</maml:title> <maml:introduction> <maml:para>```powershell dir Proc:\ -Include note* -Recurse ```</maml:para> <maml:para>Searches the entire process tree for processes matching "note*".</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Online Version</maml:linkText> <command:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>about_ProcessDrive</maml:linkText> <command:uri /> </maml:navigationLink> </command:relatedLinks> </command:command> </helpItems> |