Notification

Icon
Error

Installer - Windows Management Framework v4 - This will update Powershell to version 4

Posted: Thursday, February 23, 2017 4:04:03 PM(UTC)
rungok

rungok

Member Original PosterPosts: 1
1
Like
As some of you may know, WMF v4 is not deployed on wsus-servers because of compatibility issues with some older Microsoft Products like Exchange and Lync. However it's often necessary to upgrade the Powershell version for some deployment soutines to work properly.

This script will
1. check for install file
2. check if it's installed from before in registry and then finally
3. install the update.

It expects the file Windows6.1-KB2819745-x64-MultiPkg.msu to reside in the folder {PackageShare}wmf\wmf4\.Else you may have to modify these values. It will fail for x86 windows, since that's another package. But who runs x86 anymore? :)
Installer - WMF v4Download Package
DescriptionThis package will check for Windows Management Framework v4 and install it if it is not installed. Remark: It will rescan the target computer afterwards to ensure reports are also up to date.
Final ActionNothing
Max. Duration20 min(s), 0 hour(s)
RescanYes
Steps
1. Check Install File
TypeCondition
SuccessGo To Step 2
FailureStop (Failure)
Conditions
File {PackageShare}wmf\wmf4\ Windows6.1-KB2819745-x64-MultiPkg.msu Exists
2. Check registry for installed version (v3 and above installed)
TypeCondition
SuccessGo To Step 3
FailureStop (Failure)
Conditions
Registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine PowerShellVersion Not Exists
3. Install Windows Management Framework v4
TypeInstaller
Return Codes 0,1641,3010
SuccessStop (Success)
FailureStop (Failure)
Command "{PackageShare}wmf\wmf4\Windows6.1-KB2819745-x64-MultiPkg.msu" /quiet /restart

Active Discussions

Lansweeper Laptop warranty include users from active directory filtered by OU
by  Iyad   Go to last post Go to first unread
Last post: Yesterday at 11:09:27 PM(UTC)
Lansweeper Exclude Search
by  pryan67  
Go to last post Go to first unread
Last post: Yesterday at 4:01:43 PM(UTC)
Lansweeper Report: All Apple Mac devices with Memory RAM asset
by  gabrielo   Go to last post Go to first unread
Last post: Yesterday at 3:17:24 PM(UTC)
Lansweeper Does technical support for LS really respond?
by  tosch  
Go to last post Go to first unread
Last post: Yesterday at 12:48:50 PM(UTC)
Lansweeper Deployment packages using lsagent
by  CyberCitizen   Go to last post Go to first unread
Last post: 6/15/2021 11:44:33 PM(UTC)
Lansweeper INFO DateTimeService time refresh
by  ZachO21  
Go to last post Go to first unread
Last post: 6/15/2021 4:23:15 PM(UTC)
Lansweeper Helpdesk tabs always regenarated
by  Carla   Go to last post Go to first unread
Last post: 6/14/2021 9:49:27 PM(UTC)
Lansweeper Importing with user relations
by  teddyh2o  
Go to last post Go to first unread
Last post: 6/14/2021 6:05:46 PM(UTC)