Server2012 R2 Powershell4升级到Powershell5

2021/4/15 7:30:21

本文主要是介绍Server2012 R2 Powershell4升级到Powershell5,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

1. PS C:\windows\system32> $PSVersionTable
2. 
3. Name                           Value                                                                                                  
4. ----                           -----                                                                                                  
5. PSVersion                      4.0 #(主版本号4.0)                                                                                                   
6. WSManStackVersion              3.0                                                                                                    
7. SerializationVersion           1.1.0.1                                                                                                
8. CLRVersion                     4.0.30319.42000                                                                                        
9. BuildVersion                   6.3.9600.16394                                                                                         
10. PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}                                                                                   
11. PSRemotingProtocolVersion      2.2      
12. 下载更新包,安装并重启
13. https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu
14. 
15. PS C:\windows\system32> $PSVersionTable
16. 
17. Name                           Value                                                                                                  
18. ----                           -----                                                                                                  
19. PSVersion                      5.1.14409.1005 #(主版本号5.0)                                                                                      
20. PSEdition                      Desktop                                                                                                
21. PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                
22. BuildVersion                   10.0.14409.1005                                                                                        
23. CLRVersion                     4.0.30319.42000                                                                                        
24. WSManStackVersion              3.0                                                                                                    
25. PSRemotingProtocolVersion      2.3                                                                                                    
26. SerializationVersion           1.1.0.1  
27. 更多更新见官方文档
28. https://docs.microsoft.com/zh-cn/powershell/scripting/windows-powershell/install/installing-windows-powershell?view=powershell-7.1&viewFallbackFrom=powershell-6#upgrading-existing-windows-powershell
29. https://www.microsoft.com/en-us/download/details.aspx?id=54616




这篇关于Server2012 R2 Powershell4升级到Powershell5的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程