PowerShell添加或修改註冊表開機啓動項腳本

代碼如下: $name = Read-Host "請輸入開機啓動項的名字(隨便起)" $value = Read-Host "請輸入開機啓動項的值" try{ New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run" -Name $name -PropertyType String -Value
相關文章
相關標籤/搜索