Skip to content

JamesKehr/Initialize-NetworkLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Initialize-NetworkLab

PowerShell script built to configure Windows Server 2022 as a network lab.

Run NetCalc

You can run NetCalc without saving the file to disk using this command.

iwr https://raw.githubusercontent.com/JamesKehr/Initialize-NetworkLab/main/NetCalc.ps1 | iex

OR

iwr https://aka.ms/NetCalc | iex

Generic Setup

The script can be run live using this command from an elevated (Run as administrator) PowerShell console. This does not perform any computer renaming or IP address configuration of the RED, BLUE, or GREEN networks.

iwr https://raw.githubusercontent.com/JamesKehr/Initialize-NetworkLab/main/Initialize-NetworkLab.ps1 | iex

iwr is the alias for Invoke-WebRequest.

iex is the alias for Invoke-Expression.

RX Setup

Use these commands to setup the RX (reciever) computer.

iwr https://raw.githubusercontent.com/JamesKehr/Initialize-NetworkLab/main/Initialize-NetworkLab.ps1 -OutFile "$ENV:USERPROFILE\Desktop\Initialize-NetworkLab.ps1"
Set-Location "$ENV:USERPROFILE\Desktop"
.\Initialize-NetworkLab.ps1 -RX [-DnsServer <DNS Server IP>]

TX Setup

Use these commands to setup the TX (transmit) computer.

iwr https://raw.githubusercontent.com/JamesKehr/Initialize-NetworkLab/main/Initialize-NetworkLab.ps1 -OutFile "$ENV:USERPROFILE\Desktop\Initialize-NetworkLab.ps1"
Set-Location "$ENV:USERPROFILE\Desktop"
.\Initialize-NetworkLab.ps1 -TX [-DnsServer <DNS Server IP>]

About

PowerShell script built to configure Windows Server 2022 as a network lab.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published