윈도우에서 msi 파일 파운로드 및 설치 PowerShell 스크립트 $srcPath = "파일 다운로드 URL" $dstPath = "파일 저장 경로 ex)C:\Temp\installer.msi" # msi 파일 다운로드 수행 wget -Uri $srcPath -OutFile $dstPath # msi 파일 설치 수행 Start-Process msiexec.exe -ArgumentList "/i `"$dstPath`" /qn" -Wait Programming/PowerShell 2023.03.19
윈도우 레지스트리 등록 PowerShell 스크립트 # 키 등록 $itemPath = "키 경로" New-Item -Path $itemPath -Force # 문자열 값 등록 $name = "이름" $value = "값" New-ItemProperty -Path $itemPath -Name $name -Value $value -Force Programming/PowerShell 2023.03.19