mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-06-18 10:56:45 +02:00
Update install-basic-apps.ps1
This commit is contained in:
parent
8328c1d14f
commit
5862523aa3
@ -15,10 +15,16 @@
|
|||||||
try {
|
try {
|
||||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||||
|
|
||||||
"⏳ Step 1 - Loading Data/basic-apps.csv (CSV table)..."
|
"⏳ Step 1 - Loading table from Data/basic-apps.csv..."
|
||||||
$Table = Import-CSV "$PSScriptRoot/../Data/basic-apps.csv"
|
$Table = Import-CSV "$PSScriptRoot/../Data/basic-apps.csv"
|
||||||
$NumEntries = $Table.count
|
$NumEntries = $Table.count
|
||||||
"Found $NumEntries entries."
|
Write-Host " I will install: " -NoNewline
|
||||||
|
foreach($Row in $Table) {
|
||||||
|
[string]$AppName = $Row.AppName
|
||||||
|
Write-Host "$AppName, " -NoNewline
|
||||||
|
}
|
||||||
|
""
|
||||||
|
sleep -s 3
|
||||||
|
|
||||||
[int]$Step = 2
|
[int]$Step = 2
|
||||||
foreach($Row in $Table) {
|
foreach($Row in $Table) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user