windows 2008 r2 x64 离线升级PowerShell3.0 及打开WinRM模块
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了windows 2008 r2 x64 离线升级PowerShell3.0 及打开WinRM模块相关的知识,希望对你有一定的参考价值。
windows 2008 r2 x64 离线升级PowerShell3.0 及打开WinRM模块
bat脚本
echo off set apath=%~dp0 :: 如果运行提示找不到文件apath 写完整路径 echo "install net4.0" %apath%\dotNetFx45_Full_x86_x64.exe /quiet /norestart start /w pkgmgr /iu:PowerShell echo y|powershell set-executionpolicy remotesigned echo "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\"" /f echo PowerShell %apath%\ConfigureRemotingForAnsible.ps1>%apath%Powerl.bat echo REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "ansible" /f >>%apath%Powerl.bat pause
离线升级包下载地址:
链接:http://pan.baidu.com/s/1dE2h9aL 密码:jd7j
本文出自 “成长记录” 博客,请务必保留此出处http://juestnow.blog.51cto.com/1515305/1875026
以上是关于windows 2008 r2 x64 离线升级PowerShell3.0 及打开WinRM模块的主要内容,如果未能解决你的问题,请参考以下文章
Pig 0.12.0 在 Windows 2008 r2 x64 上的 Hadoop 2.3.0
windows server 2008下装SQL 2008R2x64
windows2008R2 x64位架设IIS7.x的支持SQLServer2008的PHP服务器