Forum Discussion
svetlozar
Jul 03, 2021Copper Contributor
Changing / creating reg values
Hi all, I am new to PowerShell and I am writing scripts to check and configure some security settings of MS Office. I have managed to write the following, but it gives me an error when trying...
yuzoyox
Jul 05, 2021Iron Contributor
Hi Svetzolar, try to use cmd command instead powershell
reg add $path /v $regname /t REG_DWORD /d 1 /f
maybe it will work.
Thank you very much
Regards
reg add $path /v $regname /t REG_DWORD /d 1 /f
maybe it will work.
Thank you very much
Regards