From c945789d5881054444fc3414313aba9b9e2e280c Mon Sep 17 00:00:00 2001 From: Jeffrey <9938813+Raphire@users.noreply.github.com> Date: Sun, 17 May 2026 23:13:08 +0200 Subject: [PATCH] Add support for Hex7 type in Convert-RegOperationToValueKind function --- Scripts/Helpers/ApplyRegistryRegFile.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Scripts/Helpers/ApplyRegistryRegFile.ps1 b/Scripts/Helpers/ApplyRegistryRegFile.ps1 index a3c79fd..68bc88c 100644 --- a/Scripts/Helpers/ApplyRegistryRegFile.ps1 +++ b/Scripts/Helpers/ApplyRegistryRegFile.ps1 @@ -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 } }