非常简单,修改标黄部分即可,直接上图:


New-Item -Path HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common -Name  BlockHTTPImages -Value 1 –Force


使用 Powershell 创建注册表键值_Excel


参考:

Use PowerShell to Easily Create New Registry Keys https://devblogs.microsoft.com/scripting/use-powershell-to-easily-create-new-registry-keys/