Tests/Integration/MSFT_xNetConnectionProfile.config.ps1

$rule = Get-NetConnectionProfile

configuration MSFT_xNetConnectionProfile_Config {
    Import-DscResource -ModuleName xNetworking
    node localhost {
        xNetConnectionProfile Integration_Test {
            InterfaceAlias   = $rule.InterfaceAlias
            NetworkCategory  = $rule.NetworkCategory
            IPv4Connectivity = $rule.IPv4Connectivity
            IPv6Connectivity = $rule.IPv6Connectivity
        }
    }
}