I have a strange issue, test-path for a registry key “Name AAA 123” works and it also works for the registry key “Name AAA 123/123”, but only if the first one is not present. If both are present, the key “Name AAA 123/123” cannot be found. The same with Get-Property(Item).
Hmmm … please be honest: would you be able to understand your question if you had only what you wrote here?
Please show the complete paths you’re talking about and please show the code you’re using. You should format both as code using the code tag “PRE”. Thanks.
Here it is. There is no code, I simply used Test-Path, Get-ItemProperty and Get-ItemPropertyValue. If “Triple DES 168” key is present, PowerShell cannot read “Triple DES 168/168” key.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\Triple DES 168
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\Triple DES 168/168