Install-WMF3Hotfix

1.0

The script will install the WinRM hotfix KB2842230 which fixes the memory
issues that occur when running over WinRM with WMF 3.0.
The script will;
   1. Detect if running on PS version 3.0 and exit if it is not
   2. Check if KB2842230 is already installed and exit if it is
   3. Download the hotfix from Microsoft server's based on the OS version
   4. Extract th
The script will install the WinRM hotfix KB2842230 which fixes the memory
issues that occur when running over WinRM with WMF 3.0.
The script will;
   1. Detect if running on PS version 3.0 and exit if it is not
   2. Check if KB2842230 is already installed and exit if it is
   3. Download the hotfix from Microsoft server's based on the OS version
   4. Extract the .msu file from the downloaded hotfix
   5. Install the .msu silently
   6. Detect if a reboot is required and prompt whether the user wants to restart

Once the install is complete, if the install process returns an exit
code of 3010, it will ask the user whether to restart the computer now
or whether it will be done later.

See https://github.com/jborean93/ansible-windows/tree/master/scripts for more
details.
Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Install-WMF3Hotfix

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Jordan Borean 2017

Package Details

Author(s)

  • Jordan Borean <jborean93@gmail.com>

Tags

PowerShell Ansible WinRM WMF Hotfix

Functions

Run-Process Download-File Extract-Zip

Dependencies

This script has no dependencies.

Release Notes

Version 1.0: 2017-09-27
Initial script created

FileList

Version History

Version Downloads Last updated
1.0 (current version) 409 10/5/2017