Update samy.ps1
This commit is contained in:
2
samy.ps1
2
samy.ps1
@@ -1917,6 +1917,8 @@ function Invoke-InstallPrinters {
|
|||||||
#-WhatIf
|
#-WhatIf
|
||||||
|
|
||||||
$successCount++
|
$successCount++
|
||||||
|
Write-LogHybrid "Printer installed successfully ($summary)" Success Printers -LogToEvent
|
||||||
|
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
$errMsg = "Failed to install printer ($summary): $($_.Exception.Message)"
|
$errMsg = "Failed to install printer ($summary): $($_.Exception.Message)"
|
||||||
|
|||||||
Reference in New Issue
Block a user