Hey folks. So I’m setting up values for an Office deployment and I was wondering what you do for REG_BINARY values. I have one that appears like so:
[HKEY_CURRENT_USER\Software\Microsoft\Shared Tools\Proofing Tools\Grammar\MSGrammar\3.0\1033\Option Set 0]
“Data”=hex:01,01,01,01,01,01,01,01,01,01,01,01,02,01,01,01,01,01,01,01,02,01,
01,01,01,01,01,01,00,01,01,01,02,02,02
And I’ve tried to input it like so:
Set-RegistryKey -Key ‘HKCU\Software\Microsoft\Shared Tools\Proofing Tools\Grammar\MSGrammar\3.0\1033\Option Set 0’ -Name ‘Data’ -Value 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x01,0x01,0x01,0x02,0x02,0x02-Type Binary -SID $UserProfile.SID
This doesn’t work… what am I doing wrong? Am I supposed to include the slash character somehow?