Code Monkey home page Code Monkey logo

legacynetworking's Introduction

The LegacyNetworking module contains cmdlets and DSC resources for managing Windows 7 and Server 2008 R2 machines. These resources can be used to manage basic networking settings of down-level operating systems. Wherever possible, syntax compatibility with the xNetworking resources has been provided to easily replicate settings between different operating system versions.

Included Cmdlets

  • Get-LegacyNetAdapater: Queries network adapters.
  • Get-LegacyNetAdapaterConfiguration: Queries network adapter configurations.
  • Get-LegacyNetFirewallRule: Retrieves existing firewall rule(s).
  • New-LegacyNetFirewallRule: Creates a new firewall rule.
  • Remove-LegacyNetFirewallRule: Removes an existing firewall rule.
  • Set-LegacyNetFirewallRule: Updates an existing firewall rule.

Included Resources

  • vDefaultGatewayAddress: Configures the default gateway of a network adapter.
  • vDNSServerAddress: Configures the DNS server address(es) a network adapter.
  • vFirewall: Manages a local firewall rule.
  • vIPAddress: Manages local IP address assigned to a network adapter.

vDefaultGatewayAddress

Configures the default gateway of a network adapter.

Syntax

vDefaultGatewayAddress [String] #ResourceName
{
    Address = [string]
    InterfaceAlias = [string]
    [ AddressFamily = [string] { IPv4 } ]
}

vDNSServerAddress

Configures the DNS server address(es) a network adapter.

Syntax

vDNSServerAddress [String] #ResourceName
{
    Address = [string[]]
    InterfaceAlias = [string]
    [ AddressFamily = [string] { IPv4 } ]
}

vFirewall

Manages a local firewall rule.

Syntax

vFirewall [String] #ResourceName
{
    DisplayName = [string]
    Action = [string] { Allow | Block | Bypass }
    Direction = [string] { Inbound | Outbound }
    Profile = [string[]] { Domain | Private | Public | Any }
    [ Description = [string] ]
    [ Enabled = [string] { False | True } ]
    [ Ensure = [string] { Absent | Present } ]
    [ LocalPort = [string[]] ]
    [ Program = [string] ]
    [ Protocol = [string] ]
    [ RemotePort = [string[]] ]
    [ Service = [string] ]
}

vIPAddress

Manages local IP address assigned to a network adapter.

Syntax

vIPAddress [String] #ResourceName
{
    InterfaceAlias = [string]
    IPAddress = [string]
    SubnetMask = [uint32]
    [ AddressFamily = [string] { IPv4 } ]
}

legacynetworking's People

Contributors

iainbrighton avatar

Watchers

Reuben Miller avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.