1
0

Auto-commit: 2025-10-31 08:58:35

This commit is contained in:
David Wuibaille
2025-10-31 08:58:36 +01:00
parent 7d94414992
commit 7cc3011354
1088 changed files with 193455 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# 🌍 IP Range Calculator
## 🔧 What it does
- Uses **Gateway** and **Subnet Mask** to calculate the **first (Host Min)** and **last (Host Max)** usable IP addresses in the range.
- Displays results directly in the console.
## ✅ Prerequisites
- Function `Get-IPRange` must be defined in the same script or imported.
- Provide valid IPv4 **gateway** and **subnet mask**.
```powershell
$gateway = "192.168.1.1"
$subnetMask = "255.255.255.0"
$startAddress, $endAddress = Get-IPRange -gateway $gateway -subnetMask $subnetMask
```