August 23rd, 2016

PowerShell DSC and implicit remoting broken in KB3176934

PowerShell Team
PowerShell Team

On August 23, Windows update KB3176934 released for Windows Client. Due to a missing .MOF file in the build package, the update breaks DSC. All DSC operations will result in an “Invalid Property” error.

In addition, due to a missing binary in the build package the update breaks PowerShell implicit remoting. Implicit remoting is a PowerShell feature where PowerShell commands work on a remote session instead of locally. Specifically, importing a remote session no longer works:

$remoteSession = New-PSSession -Cn TargetComputer Import-PSSession -Session $remoteSession

Import-PSSession : Could not load type ‘System.Management.Automation.SecuritySupport’ from assembly ‘System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’.

To prevent these issues take the following actions:

  1. If you are using DSC from or on any Windows client, take the following steps: Uninstall the update if already installed. From elevated PowerShell prompt type

    wusa /uninstall /kb:3176934

  2. If using WSUS, do not approve the update. Otherwise, Use Group Policy to set the ‘Configure Automatic Updates’ to ‘2 – Notify for download and notify for install’ as described in this Microsoft Support article.

A fix for this issue will be included in the next Windows update which is due out 8/30/2016.

We apologize for any inconvenience that this might cause.

Regards,

The PowerShell Team

Category
PowerShell

Author

PowerShell Team
PowerShell Team

PowerShell is a task-based command-line shell and scripting language built on .NET. PowerShell helps system administrators and power-users rapidly automate tasks that manage operating systems (Linux, macOS, and Windows) and processes.

0 comments

Discussion are closed.