Introduction

Completed

Both Windows PowerShell and PowerShell support cmdlets that you can use to manage all aspects related to network settings on Windows devices. Settings that you can configure with PowerShell include TCP/IP, Domain Name System (DNS), firewall, and routing table configurations. In addition to the cmdlets for managing network features and components, the Test-NetConnection cmdlet is also available. This cmdlet offers the same functionality as traditional command-line interface tools such as ping.exe and tracert.exe, which are used to identify and diagnose network connectivity and configuration settings.

Note

The three modules covered in this module—NetTCPIP, NetSecurity, and DnsClient—are natively compatible with PowerShell 7 on Windows Server 2019 and later and Windows 10 1809 and later. No Windows PowerShell compatibility layer is required.

In this module, you'll learn about the PowerShell modules and cmdlets used for configuring network settings for Windows devices.

Learning objectives

After completing this module, you'll be able to:

  • Identify cmdlets for managing TCP/IP settings.
  • Describe how to manage local routing table settings.
  • Describe how to modify DNS client configuration.
  • List cmdlets for managing Windows Firewall.

Prerequisites

Familiarity with:

  • Windows networking technologies and implementation.
  • Windows Server administration, maintenance, and troubleshooting.
  • PowerShell and its commands to perform specific tasks.