Compare commits

..

1 Commits

Author SHA1 Message Date
Chris Titus
9d1693b876
Merge 623e6013bf into 61c2e39ddb 2024-12-27 13:31:13 -05:00

View File

@ -47,8 +47,6 @@ function Set-WinUtilRegistry {
Write-Warning "Unable to set $Path\$Name to $Value due to a Security Exception"
} catch [System.Management.Automation.ItemNotFoundException] {
Write-Warning $psitem.Exception.ErrorRecord
} catch [System.UnauthorizedAccessException]{
Write-Warning $psitem.Exception.Message
} catch {
Write-Warning "Unable to set $Name due to unhandled exception"
Write-Warning $psitem.Exception.StackTrace