mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-12 14:07:20 +02:00
Improved the scripts
This commit is contained in:
@ -8,11 +8,11 @@
|
||||
|
||||
param([String]$Path)
|
||||
|
||||
try {
|
||||
if ($Path -eq "" ) {
|
||||
$Path = read-host "Enter path to CSV file"
|
||||
}
|
||||
if ($Path -eq "" ) {
|
||||
$Path = read-host "Enter path to CSV file"
|
||||
}
|
||||
|
||||
try {
|
||||
$Table = Import-CSV -path "$Path" -header A,B,C,D,E,F,G,H
|
||||
|
||||
foreach($Row in $Table) {
|
||||
|
Reference in New Issue
Block a user