disable debug output
This commit is contained in:
parent
4386f0dfd6
commit
7a56f2ff61
@ -97,13 +97,13 @@ function Import-CSCertificate {
|
|||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
$_.Exception.Message | Write-Error -ErrorAction Stop
|
$_.Exception.Message | Write-Error -ErrorAction Stop
|
||||||
#$ErrorParams = @{
|
$ErrorParams = @{
|
||||||
# ErrorAction = 'Stop'
|
ErrorAction = 'Stop'
|
||||||
# Exception = [System.Exception]::new(
|
Exception = [System.Exception]::new(
|
||||||
# 'Could not read or add the pfx certificate!'
|
'Could not read or add the pfx certificate!'
|
||||||
# )
|
)
|
||||||
#}
|
}
|
||||||
#Write-Error @ErrorParams
|
Write-Error @ErrorParams
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end {
|
end {
|
||||||
|
Loading…
Reference in New Issue
Block a user