Lab Tasks
1. List Network Adapters
View network adapter configuration.
Get-NetAdapter
2. Create NIC Team
Create a NIC team for redundancy and load balancing.
New-NetLbfoTeam -Name "Team1" -TeamMembers "Ethernet1","Ethernet2"
3. Add Firewall Rule
Create a firewall rule to allow traffic.
New-NetFirewallRule -DisplayName "Allow HTTP" -Direction Inbound -Protocol TCP -LocalPort 80
4. Test Network Connectivity
Use Test-NetConnection to verify network paths.
Test-NetConnection -ComputerName DC01 -Port 443
5. Configure NAT
Create a NAT configuration for a subnet.
New-NetNat -Name "InternalNAT" -InternalIPInterfaceAddressPrefix "192.168.0.0/24"
Network Commands:
Use
Use
Get-Command *Net* to discover all networking cmdlets available in PowerShell.
Tip: Network adapter names are case-sensitive. Use
Get-NetAdapter to see exact names before creating teams.