実は PowerShell 2.0 まではObject処理できるコマンドが存在せず netstat をテキスト処理して objectに入れてほげほげしてました。 しかし PowerShell 3.0 で追加された netstat に相当するコマンドで PowerShell 風に object処理できます。 それが今回のお題。 Windows Server 管理している人で知らない方には利用していただきたいものです。 PowerShellでの netstat 分析は大勢に望まれていた 実際 PowerShell netstat などで検索すると、海外で沢山記事が出ます。それぐらい望まれていたのです。 (日本は アレですが) netstat の統計、分析は Windows だけでなく Linux でも大事ですね。linux だと結構容易にテキスト処理できるんです。 wc -l とかもありますし