■WindowsXPHomeではtasklistではなく、PowerShellで「Get-Process」しよう。 なぜ、XP?、なぜHome?という突っ込みは置いておいて。。。 コマンドプロンプトで以下のコマンドは見つからない。 > tasklist 'taskist' は、内部コマンドまたは外部コマンド、 操作可能なプログラムまたはバッチ ファイルとして認識されていません。 ■PowerShell1.1には「get-process」コマンドがある。 PS > get-process | findstr "snmp" 207 5 1604 664 22 0.36 1872 snmp ■ Installing PowerShell on Windows XP, and Copying Files http://blogs.technet.com/b/heyscriptingguy/archive/2011/01/28/install-powershell-on-windows-xp-and-copying-files.aspx ■tasklistとの見た目の相違はともかく、以下のように出来る。 > powershell get-process Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName ------- ------ ----- ----- ----- ------ -- ----------- 107 5 1292 124 36 0.09 2196 alg 33 2 2080 2828 30 0.06 2816 cmd 62 4 1780 3128 70 0.11 2480 conime 639 8 5852 14700 95 83.00 700 csrss 78 4 1576 1364 33 0.73 3276 ctfmon ... ■PowerShellのバージョン確認(cmd/PS/Reg)。 > reg query HKLM\Software\Microsoft\Powershell\1\PowerShellEngine | find "RuntimeVersion" RuntimeVersion REG_SZ v2.0.50727 > powershell $PSVersionTable Name Value ---- ----- CLRVersion 2.0.50727.3634 BuildVersion 6.0.6002.18111 PSVersion 2.0 WSManStackVersion 2.0 PSCompatibleVersions {1.0, 2.0} SerializationVersion 1.1.0.1 PSRemotingProtocolVersion 2.1 ■インストール方法 10ヶ月以上前にインストールしたので、忘れてた。。。KBで検索。 「インストーラをポチポチするだけ。」で分からない人は2つめの参考ページも。。。 > reg query HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\KB968930 | find "InstallDate" InstallDate REG_SZ 20120119 > reg query HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\KB968930 | find "DisplayName" DisplayName REG_SZ Windows Management Framework Core 参考:Windows XP 用更新プログラム (KB968930) http://www.microsoft.com/ja-jp/download/details.aspx?id=16818 参考:PowerShell 2.0正式版をWindows XPにインストールする http://blog.powershell-from.jp/?p=97