Programming/PowerShell

윈도우 레지스트리 등록 PowerShell 스크립트

hdhwang 2023. 3. 19. 19:06
# 키 등록
$itemPath = "키 경로"
New-Item -Path $itemPath -Force

# 문자열 값 등록
$name = "이름"
$value = "값"
New-ItemProperty -Path $itemPath -Name $name -Value $value -Force