https://github.com/dsccommunity/NetworkingDsc
DSC resources for configuring settings related to networking.
https://github.com/dsccommunity/NetworkingDsc
dsc networking powershell-dsc
Last synced: 4 months ago
JSON representation
DSC resources for configuring settings related to networking.
- Host: GitHub
- URL: https://github.com/dsccommunity/NetworkingDsc
- Owner: dsccommunity
- License: mit
- Created: 2015-04-15T22:43:02.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2024-11-28T17:51:20.000Z (5 months ago)
- Last Synced: 2024-11-29T14:12:21.030Z (5 months ago)
- Topics: dsc, networking, powershell-dsc
- Language: PowerShell
- Homepage: https://dsccommunity.org
- Size: 2.37 MB
- Stars: 227
- Watchers: 35
- Forks: 89
- Open Issues: 52
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- jimsghstars - dsccommunity/NetworkingDsc - DSC resources for configuring settings related to networking. (PowerShell)
README
# NetworkingDsc
[](https://dev.azure.com/dsccommunity/NetworkingDsc/_build/latest?definitionId=16&branchName=main)

[](https://dsccommunity.visualstudio.com/NetworkingDsc/_test/analytics?definitionId=16&contextType=build)
[](https://www.powershellgallery.com/packages/NetworkingDsc/)
[](https://www.powershellgallery.com/packages/NetworkingDsc/)
[](https://codecov.io/gh/dsccommunity/NetworkingDsc)## Code of Conduct
This project has adopted [this code of conduct](CODE_OF_CONDUCT.md).
## Releases
For each merge to the branch `main` a preview release will be
deployed to [PowerShell Gallery](https://www.powershellgallery.com/).
Periodically a release version tag will be pushed which will deploy a
full release to [PowerShell Gallery](https://www.powershellgallery.com/).## Contributing
Please check out common DSC Community [contributing guidelines](https://dsccommunity.org/guidelines/contributing).
## Change log
A full list of changes in each version can be found in the [change log](CHANGELOG.md).
## Resources
The **NetworkingDsc** module contains the following resources:
- **DefaultGatewayAddress**: Sets a node's default gateway address.
- **DnsClientGlobalSetting**: Configure DNS client global settings.
- **DnsConnectionSuffix**: Sets a node's network interface
connection-specific DNS suffix.
- **DnsServerAddress**: Sets a node's DNS server address(s).
- **Firewall**: Sets a node's firewall rules.
- **FirewallProfile**: Configures a node's private, public or domain firewall profile.
- **HostsFile**: Adds, edits or removes entries from the hosts file on a node.
- **IPAddress**: Sets a node's IP address(s).
- **IPAddressOption**: Sets an IP address option.
- **NetAdapterAdvancedProperty**: Sets advanced properties on a network adapter.
- **NetAdapterBinding**: Bind or unbind transport or filters to a network interface.
- **NetAdapterLso**: Enable or disable Lso for different protocols
on a network adapter.
- **NetAdapterName**: Rename a network interface that matches specified search parameters.
- **NetAdapterRdma**: Enable or disable RDMA on a network adapter.
- **NetAdapterRsc**: Enable or disable Rsc for different protocols
on a network adapter.
- **NetAdapterRss**: Enable or disable Rss on a network adapter.
- **NetBios**: Enable or Disable NetBios on a network interface.
- **NetConnectionProfile**: Sets a node's connection profile.
- **NetIPInterface**: Configure the IP interface settings for a network interface.
- **NetworkTeam**: Set up network teams on a node.
- **NetworkTeamInterface**: Add network interfaces to a network team.
- **ProxySettings**: Configures the proxy settings for the computer.
- **Route**: Sets static routes on a node.
- **WaitForNetworkTeam**: Wait for a network team to achieve the 'Up' status.
- **WinsSetting**: Configure the WINS settings that enable or disable LMHOSTS lookups
and enable or disable DNS for name resolution over WINS.
- **WinsServerAddress**: Sets a node's WINS server address(s).## Documentation and Examples
For a full list of resources in NetworkingDsc and examples on their use, check out
the [NetworkingDsc wiki](https://github.com/dsccommunity/NetworkingDsc/wiki).## Known Issues
### Firewall Known Issues
The following error may occur when using the resource Firewall in configurations
on Windows Server 2012 R2 if [KB3000850](https://support.microsoft.com/en-us/kb/3000850)
is not installed. Please ensure this update is installed if this error occurs.````markdown
The cmdlet does not fully support the Inquire action for debug messages.
Cmdlet operation will continue during the prompt. Select a different action
preference via -Debug switch or $DebugPreference variable, and try again.
````### Known Invalid Configuration
- The exception 'One of the port keywords is invalid' will be thrown if a rule
is created with the LocalPort set to PlayToDiscovery and the Protocol is not
set to UDP. This is not an unexpected error, but because the
New-NetFirewallRule documentation is incorrect.This issue has been reported on [Microsoft Connect](https://connect.microsoft.com/PowerShell/feedbackdetail/view/1974268/new-set-netfirewallrule-cmdlet-localport-parameter-documentation-is-incorrect-for-playtodiscovery)