1. open power shell

2. 

PS C:\Users\Martin> get-windowsfeature web*

3. install default  IIS 


PS C:\Users\Martin> install-windo[By cnblogs.com/GoCircle]wsfeature web-server

4. install Asp.net3.5

PS C:\Users\Martin> install-windowsfeature web-Asp-Net

5. install Asp.net4.6

PS C:\Users\Martin> install-windowsfeature web-Asp-Net45

Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
True    No             Success        {ASP.NET 4.6, .NET Extensibility 4.6}

 6. install admin tools

PS C:\Users\Martin> install-windowsfeature web-Mgmt-tools

Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
True    No             Success        {IIS Management Console, Management Tools}

 

posted on 2020-10-28 15:36  湖东  阅读(93)  评论(0编辑  收藏  举报