Finish out Import-Config...
This commit is contained in:
@@ -439,9 +439,16 @@ Function Import-Config () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Catch {
|
Catch {
|
||||||
|
Add-LogEntry "Error loading config file! Please make sure the correct path was provided, and that it is a properly formatted CSV file" -As Error
|
||||||
|
Write-Host $_
|
||||||
|
Exit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Else {
|
||||||
|
Add-LogEntry "Error loading config file! Please make sure the correct path was provided, and that it is a properly formatted file" -As Error
|
||||||
|
Write-Host $_
|
||||||
|
Exit
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function Set-RegistryKey {
|
Function Set-RegistryKey {
|
||||||
|
Reference in New Issue
Block a user