Deploy Powershell 3 to Win7 Via SCCM 2012R2

Is it possible to deploy Powershell 3 to Windows 7 clients using SCCM 2012R2? Or WSUS? 

I have read a few blogs describing different methods such as dism to repackage the cab file or using a scripted deployment type (Windows6.1-KBxxxxxxxx64.msu /quiet /norestart)  but i can not get it to install the update.  My aim is to get the app-v 5 client on windows 7 desktops so powershell 3 is a requirement.

Has anyone worked out how to deploy it?

Many Thanks Dave

 

March 24th, 2014 9:08pm

If you're clients are currently at PowerShell 2,  I would recommend installing Windows Management Framework 4 instead of 3.  WMF4 has lots of powershell and WMI improvements over WMF3.

To deploy WMF4, create an Application with two deployment types (one for x86 and one for x64).  The program is pretty simple - you just need something like "WUSA.EXE Windows6.1-KB2819745-x64-MultiPkg.msu /quiet /norestart".  For a detection method, the easiest thing to do is a file version check on "%windir%\System32\WindowsPowerShell\v1.0\powershell.exe"

Use the WMF4 Application object as a pre-requisite for your App-V 5 Client.  

I hope that helps,

Free Windows Admin Tool Kit Click here and download it now
March 24th, 2014 9:15pm

Adding more info:

Weekend Scripter: Install PowerShell 3.0 on Windows 7

http://blogs.technet.com/b/heyscriptingguy/archive/2013/06/02/weekend-scripter-install-powershell-3-0-on-windows-7.aspx

March 25th, 2014 9:35am

The check on the fileversion of powershell is not gonna work because the actual "replacement" of the powershell.exe will take place after reboot. Your approach is not working for me. Did you ever do this?

So eventually I created a package. But I'd like to use the applications because of the only-do-something-when-needed character.

get-hotfix -id KB2819745 will get the correct info directly after installing, but I did not get it work in a scripted detection.

Do you have an example or a reallife example how you did this with an application?

Free Windows Admin Tool Kit Click here and download it now
March 11th, 2015 12:27pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics