Transfer PersistentRoutes from 2008 server to 2012

Welcome Forums General PowerShell Q&A Transfer PersistentRoutes from 2008 server to 2012

This topic contains 2 replies, has 3 voices, and was last updated by

 
Participant
6 months, 4 weeks ago.

  • Author
    Posts
  • #98461

    Participant
    Points: 1
    Rank: Member

    2012 works with New-NetRoute. As far as I know , 2008 cant use it (only wmi) .

    so no easy way here . do you have script that can transfer PersistentRoutes from 2008 server to 2012 ?

  • #98833

    Keymaster
    Points: 1,619
    Helping HandTeam Member
    Rank: Community Hero

    Sorry, no.

  • #99087

    Participant
    Points: 4
    Rank: Member

    You could use netsh to dump the routes from the 2008 host.

    netsh interface ipV4 show route store=persistent
    

    The output is formatted such that getting it into CSV should not be a problem. You could then use New-NetRoute with the CSV file.

The topic ‘Transfer PersistentRoutes from 2008 server to 2012’ is closed to new replies.