Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  IP4  Persisted  Route  Information  

 Content of List IP4 Persisted Route Information.ps1
MD5 Hash: 7C6EA203F7E74AF82163C1688F143EE6
$strComputer = "."

$colItems = get-wmiobject -class "Win32_IP4PersistedRouteTable" -namespace "root\CIMV2" `
-computername $strComputer

foreach ($objItem in $colItems) {
write-host "Caption: " $objItem.Caption
write-host "Description: " $objItem.Description
write-host "Destination: " $objItem.Destination
write-host "Installation Date: " $objItem.InstallDate
write-host "Mask: " $objItem.Mask
write-host "Metric 1: " $objItem.Metric1
write-host "Name: " $objItem.Name
write-host "Next Hop: " $objItem.NextHop
write-host "Status: " $objItem.Status
write-host
}


   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a