使用 Powershell 創建註冊表鍵值

非常簡單,修改標黃部分即可,直接上圖:


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


image


參考:

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章