I'm not quite sure if this is leading you in a useful direction (I just took a quick look at PowerShell) but maybe you want to try this one in a powershell script:

$colItems = get-wmiobject -class "Win32_NetworkAdapterConfiguration" | where {$_.IpEnabled -match "True" }
foreach ($objItem in $colItems) {
 write-host "Name: " $objItem.Description
 write-host "IP .: " $objItem.IPAddress
 write-host ""
}

You can then add
| where {$_.Description -match "<your adapter name>"}
at the end of the first line and replace the write-host commands by the route command

Hope this helps / works
Nils