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,10 @@
$Count = 1
$Total = $OrdinateurClient.Rows.Count
foreach ($OrdinateurIP in $OrdinateurClient) {
Write-Progress -Activity "Processing " -status "Computers : $Count / $Total" -PercentComplete ($Count / $Total * 100) -Id 1
$Count += 1
$Nom = $OrdinateurIP."DISPLAYNAME"
}
}
Write-Progress -Activity 'Processing' -Completed -Id 1

View File

@@ -0,0 +1,9 @@
# 📊 Progress Bar Script
## 🔧 What it does
Displays a **PowerShell progress bar** while looping through a list of computers.
Shows the current index and total count, then closes the bar at the end.
## ⚠️ Notes
- `$OrdinateurClient` must contain a `DISPLAYNAME` column.
- Run in **PowerShell 5+**.