非常簡單,修改標黃部分即可,直接上圖:
New-Item -Path HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common -Name BlockHTTPImages -Value 1 –Force
參考:
Use PowerShell to Easily Create New Registry Keys https://devblogs.microsoft.com/scripting/use-powershell-to-easily-create-new-registry-keys/