用脚本批量部署软件

来源:互联网 发布:韩顺平php视频教程 编辑:程序博客网 时间:2024/05/22 01:32
cmd:解除powershell 脚本执行权限powershell -noprofile Set-ExecutionPolicy Unrestrictedpowershell 下载文件 执行文件$client = new-object System.Net.WebClient$client.DownloadFile('\\DW-PC\Users\sd\xx.msi', 'D:\1.msi')D:\1.msi /q

部署到域中执行

原创粉丝点击