$Path = $env:TEMP;
$Installer = "qq_installer.exe";
Invoke-WebRequest -UseBasicParsing "https://down.qq.com/qqweb/PCQQ/PCQQ_EXE/PCQQ2020.exe" -OutFile $Path\$Installer;
Start-Process -FilePath $Path\$Installer -Args "/s" -Verb RunAs -Wait;
Remove-Item $Path\$Installer
使用Powershell安装腾讯QQ
最新推荐文章于 2025-03-29 10:02:58 发布
本文介绍了一段使用PowerShell脚本自动化下载并静默安装QQ客户端的过程。通过调用Invoke-WebRequest下载安装包,使用Start-Process启动安装程序,并在安装完成后移除临时文件,实现了整个安装流程的自动化。
4382

被折叠的 条评论
为什么被折叠?



