ComputerHabit2

Results 3 comments of ComputerHabit2

I suspect the issue is something with using single quotes in the example and there is a space between ```console PS C:\Windows\System32> $instance { "valueName": "SystemRoot", "keyPath": "HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion" }...

I picked random entry. Seems like anything JSON might be an issue in the microsoft world. ```console PS C:\Windows\system32> $instance = @{ keyPath = 'HKLM\SOFTWARE\Microsoft\.NETFramework\Advertised\Policy\AppPatch\v2.0.50727.00000\BTSNTSvc.exe\{CA109828-7CE7-40F4-AD73-C7575455A7D5}' valueName = 'Company' } |...

Hello and thank you for responding. I discovered that the commands actually do work. I was using older PowerShell 5.1 installed by default. I installed PowerShell 7 and the scripts...