Tests/Integration/MSFT_xRoute_remove.config.ps1
configuration MSFT_xRoute_Remove_Config { Import-DscResource -ModuleName xNetworking node localhost { xRoute Integration_Test { InterfaceAlias = $TestRoute.InterfaceAlias AddressFamily = $TestRoute.AddressFamily DestinationPrefix = $TestRoute.DestinationPrefix NextHop = $TestRoute.NextHop Ensure = 'Absent' RouteMetric = $TestRoute.RouteMetric Publish = $TestRoute.Publish } } } |