非常简单,修改标黄部分即可,直接上图:
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/