dazza007 Posted March 25, 2015 Posted March 25, 2015 I am looking at updating powershell on all our clients onsite. I know that there is a manual KB for Windows Management Framework v4 that will update powershell to version 4 on all clients. What i would like to know is how to push this out easily onsite. My google skills cannot answer this one! My initial thoughts were to use WSUS however I can't seem to find the update so my next delivery method is SCCM......... any advice greatly appreciated on how to do this.
halbaradkenafin Posted March 25, 2015 Posted March 25, 2015 You should be able to push it out like a normal package but with something like this as the command line: wusa.exe Windows6.1-KB2819745-x86-MultiPkg.msu /quiet /norestart I've got it set to deploy to our test group using that and it should be working, haven't had a chance to double check it yet as I only set that away earlier this week and other stuff has come up. 1
dazza007 Posted March 25, 2015 Author Posted March 25, 2015 Thanks! My afternoon googling skills improved dramatically!!!! You can put the package into SCCM and deploy it using scrip using the command line above? There is a registry key set at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine\Powershell Version (4) to show it is installed
sted Posted March 25, 2015 Posted March 25, 2015 for what its worth heres my batch script to install it ( i run it as a shutdown script as it requires a reboot to work) rem @echo OFF REG QUERY "HKLM\SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine" /f 4.0 IF %errorlevel%==1 GOTO INSTALLWMF IF %errorlevel%==0 GOTO EXIT :INSTALLWMF wusa.exe "\\server\packages$\ms msi\powershell4\Windows6.1-KB2819745-x64-MultiPkg.msu" /quiet /norestart :EXIT pause Exit obviously if you do add it take out the pause thats just for testing 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now