■ルーティングテーブルを表示(コマンドプロンプトにコピペ)
MSDN | Win32_IP4RouteTable
MSDN | Win32_IP4PersistedRouteTable
powershell■参考
# アクティブルート
$o = gwmi -Class Win32_IP4RouteTable -Computer .
$o | select Destination, Mask, NextHop, Metric1
# 固定ルート
$o = gwmi -Class Win32_IP4PersistedRouteTable -Computer .
$o | select Destination, Mask, NextHop, Metric1
exit
MSDN | Win32_IP4RouteTable
MSDN | Win32_IP4PersistedRouteTable
コメント