mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-05-18 19:56:25 +00:00
Add support for Hex7 type in Convert-RegOperationToValueKind function
This commit is contained in:
@@ -40,6 +40,9 @@ function Convert-RegOperationToValueKind {
|
||||
}
|
||||
return @{ Name = $valueName; Kind = [Microsoft.Win32.RegistryValueKind]::ExpandString; Value = $expandStringValue }
|
||||
}
|
||||
'Hex7' {
|
||||
return @{ Name = $valueName; Kind = [Microsoft.Win32.RegistryValueKind]::MultiString; Value = [string[]]$Operation.ValueData }
|
||||
}
|
||||
{ $valueType -in @('Hex3', 'Hex4', 'Hex5') } {
|
||||
return @{ Name = $valueName; Kind = [Microsoft.Win32.RegistryValueKind]::Binary; Value = [byte[]]$Operation.ValueData }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user