简体   繁体   English

如何使用PowerShell脚本在Windows Server 2008 R2上静默安装.NET 4.5。

[英]How to install .NET 4.5 silently on Windows Server 2008 R2 using powershell Script.?

I have tried installing .NET using PowerShell 2.0 by the following command: 我尝试使用PowerShell 2.0通过以下命令安装.NET

PS C:\Users\Administrator> C:\dotNetFx45_Full_setup 
                   EULA_ACCEPT=YES REMOVE_PREVIOUS=YES /v /qn

It will not make the license agreement ticked automatically.. 它不会自动勾选许可协议。

在此输入图像描述

Refer this link 请参阅链接

Also use this 也用这个

Hope your helps 希望你的帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM