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


上一篇:win10查看电池损耗


下一篇:win10安装miniconda3后右键打开Anaconda Powershell Prompt