mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-01-06 13:04:55 -06:00
Compare commits
1 Commits
be11bac6f7
...
76263ecd88
Author | SHA1 | Date | |
---|---|---|---|
|
76263ecd88 |
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user