Windows R2 x64 offline upgrade PowerShell3.0 and open WinRM module
BAT Script
echo Offset Apath=%~dp0:: If the run prompt cannot find the file Apath write the full path echo "Install net4.0"%apath%\dotnetfx45_full_x86_x64.exe/quiet/ norestartstart/w pkgmgr/iu:powershellecho Y|powershell set-executionpolicy Remotesignedecho "PowerShell 3.0"%apath%\ Windows6.1-kb2506143-x64.msu-argumentlist/quiet REG Add "hkey_local_machine\software\microsoft\windows\ CurrentVersion\Run "/V" ansible "/t reg_sz/d" \ "%apath%powerl.bat\" "/fecho PowerShell%apath%\ Configureremotingforansible.ps1>%apath%powerl.batecho REG DELETE "hkey_local_machine\software\microsoft\ Windows\currentversion\run "/V" ansible "/F >>%apath%powerl.bat Pause
Offline Upgrade Package:
Link: Http://pan.baidu.com/s/1dE2h9aL Password: jd7j
This article is from the "Growth record" blog, so be sure to keep this source http://juestnow.blog.51cto.com/1515305/1875026
Windows R2 x64 offline upgrade PowerShell3.0 and open WinRM module