ja-JP/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>Windows プロセスツリーをナビゲートする PSDrive を作成します。</maml:para> </maml:description> <command:verb>New</command:verb> <command:noun>ProcDrive</command:noun> </command:details> <maml:description> <maml:para>Windows プロセスツリーを PowerShell ドライブとしてマウントします。 Process Explorer (procexp.exe) の CLI 代替として、cd/dir でプロセスの親子階層を ナビゲートし、各プロセスの Modules、Threads、Services、Network を仮想フォルダとして 閲覧できます。</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>ドライブ名。省略時は "Proc" が使用されます。</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>ドライブ名。省略時は "Proc" が使用されます。</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>作成された PSDrive オブジェクト。</maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para>プロセスツリーは WMI から取得し、10 秒間キャッシュされます。 `dir -Force` でキャッシュを破棄して最新のデータを取得できます。 Modules と Services もプロセスごとにキャッシュされます。</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>--------- Example 1: デフォルト名でマウント ---------</maml:title> <maml:introduction> <maml:para>```powershell New-ProcDrive cd Proc:\ dir ```</maml:para> <maml:para>Proc:\ ドライブを作成し、プロセスツリーを表示します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 2: カスタム名でマウント ---------</maml:title> <maml:introduction> <maml:para>```powershell New-ProcDrive MyProc cd MyProc:\ ```</maml:para> <maml:para>MyProc:\ としてドライブを作成します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 3: プロセスの詳細情報を取得 ---------</maml:title> <maml:introduction> <maml:para>```powershell Get-Item Proc:\devenv_24032 | Format-List * ```</maml:para> <maml:para>CPU、メモリ、I/O 統計などの詳細プロパティを表示します。</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> |