en-US/about_xNetConnectionProfile.help.txt

.NAME
    xNetConnectionProfile
 
# Description
     
    This resource is used to set a node's connection profile.
     
.PARAMETER InterfaceAlias
    Key - string
    Specifies the alias for the Interface that is being changed.
 
.PARAMETER IPv4Connectivity
    Write - string
    Allowed values: Disconnected, NoTraffic, Subnet, LocalNetwork, Internet
    Sets the Network Category for the interface.
 
.PARAMETER IPv6Connectivity
    Write - string
    Allowed values: Disconnected, NoTraffic, Subnet, LocalNetwork, Internet
    Specifies the IPv4 Connection Value.
 
.PARAMETER NetworkCategory
    Write - string
    Allowed values: Public, Private
    Specifies the IPv6 Connection Value.
 
 
    .EXAMPLE
    Sets the Ethernet adapter to Public and IPv4/6 to Internet Connectivity
 
Configuration Example
{
    param
    (
        [Parameter()]
        [System.String[]]
        $NodeName = 'localhost'
    )
 
    Import-DscResource -Module xNetworking
 
    Node $NodeName
    {
        xNetConnectionProfile Example
        {
            InterfaceAlias = 'Ethernet'
            NetworkCategory = 'Public'
            IPv4Connectivity = 'Internet'
            IPv6Connectivity = 'Internet'
        }
    }
}
 
 
    .EXAMPLE
    Sets the Ethernet adapter to Private but does not change
    IPv4 or IPv6 connectivity
 
Configuration Example
{
    param
    (
        [Parameter()]
        [System.String[]]
        $NodeName = 'localhost'
    )
 
    Import-DscResource -Module xNetworking
 
    Node $NodeName
    {
        xNetConnectionProfile Example
        {
            InterfaceAlias = 'Ethernet'
            NetworkCategory = 'Private'
        }
    }
}