PowerShell 3.0 might not execute switch statements in Windows 8 or Windows Server 2012

Applies To
Windows Server 2012 Datacenter Windows Server 2012 Datacenter Windows Server 2012 Standard Windows Server 2012 Standard Windows Server 2012 Essentials Windows Server 2012 Foundation Windows Server 2012 Foundation Windows 8 Enterprise Windows 8 Pro Windows 8

This issue occurs when the debug trace level is set to 2 in the Windows PowerShell script.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:

http:⁠//support.microsoft.com/contactus/?ws=support Note The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

There is no prerequisite to apply this hotfix.

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You may have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows 8 and Windows Server 2012 file information and notes

Important Windows 8 hotfixes and Windows Server 2012 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 8/Windows Server 2012" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.

  • The files that apply to a specific product, milestone (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:

    Version Product Milestone Service branch
    6.2.920 0.21 xxx Windows 8 and Windows Server 2012 RTM LDR
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are

    listed separately in the "Additional file information" section. MUM, MANIFEST, and the associated security catalog (.cat) files, are very important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x86-based versions of Windows 8

File name File version File size Date Time Platform
System.management.automation.dll 6.2.9200.21368 5,195,264 28-Jan-2015 13:21 x86

For all supported x64-based versions of Windows 8 and of Windows Server 2012

File name File version File size Date Time Platform
System.management.automation.dll 6.2.9200.21368 5,195,264 28-Jan-2015 15:24 x86

8b6167bb-7759-cb71-02e6-40d7f4b68f7c

Additional file information

Additional file information for Windows 8 and for Windows Server 2012 7e3d757a-63a9-8737-a553-e6491225941e

Additional files for all supported x86-based versions of Windows 8 7e3d757a-63a9-8737-a553-e6491225941e

File property Value
File name Msil_system.management.automation_31bf3856ad364e35_6.2.9200.21368_none_8298b081a6d05d59.manifest
File version Not applicable
File size 1,718
Date (UTC) 28-Jan-2015
Time (UTC) 13:47
Platform Not applicable
File name X86_1504a71643bb46069db71f72e5ba40c5_31bf3856ad364e35_6.2.9200.21368_none_8561d36c2afe67b5.manifest
File version Not applicable
File size 685
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name X86_1de84730cfca654f48d6355436b93f9b_31bf3856ad364e35_6.2.9200.21368_none_ed994f8d2e496ef1.manifest
File version Not applicable
File size 685
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name X86_3ac5d797726eec828732d1e25d3cb62d_31bf3856ad364e35_6.2.9200.21368_none_b1fd07d3ffe00e84.manifest
File version Not applicable
File size 685
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name X86_3bee1dc69171ed41e83cbcdb914e5097_31bf3856ad364e35_6.2.9200.21368_none_47b219cf297904e7.manifest
File version Not applicable
File size 685
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name X86_46774eda05f42a3edcd10f77b8646053_31bf3856ad364e35_6.2.9200.21368_none_25214b890838b712.manifest
File version Not applicable
File size 685
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name X86_6eb74bdcb54b44f0929749a4c81b6188_31bf3856ad364e35_6.2.9200.21368_none_9c4a3220c6c4f45a.manifest
File version Not applicable
File size 677
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name X86_7cd9cf65130dd1771a7f70ad8e7958b4_31bf3856ad364e35_6.2.9200.21368_none_42a5378a53dab085.manifest
File version Not applicable
File size 685
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name X86_a2c2398d40f097c71edd3939d357a78a_31bf3856ad364e35_6.2.9200.21368_none_3f743f279b189bce.manifest
File version Not applicable
File size 685
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name X86_b2e75f5f2397323d6f1b1d6980bf8ce1_31bf3856ad364e35_6.2.9200.21368_none_3291267e197cc223.manifest
File version Not applicable
File size 685
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name X86_ce6483334118c50e7f19a787116801b8_31bf3856ad364e35_6.2.9200.21368_none_605a498099d6a00b.manifest
File version Not applicable
File size 685
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name X86_ddea3b37cb7020a74d97ea7af0e79c94_31bf3856ad364e35_6.2.9200.21368_none_3e59513599adb88e.manifest
File version Not applicable
File size 685
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name X86_de3bde71ba367ffb9fddd28093e3397f_31bf3856ad364e35_6.2.9200.21368_none_28e66faca767610c.manifest
File version Not applicable
File size 685
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name X86_e19160b39af52573d3fe4a5f6a5e6ff6_31bf3856ad364e35_6.2.9200.21368_none_84df035efa4b961e.manifest
File version Not applicable
File size 685
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name X86_e2e64f1ee8521da82bd528113ac8b0a7_31bf3856ad364e35_6.2.9200.21368_none_d33cc06182ea706a.manifest
File version Not applicable
File size 685
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable

8b6167bb-7759-cb71-02e6-40d7f4b68f7c Additional files for all supported x64-based versions of Windows 8 and of Windows Server 2012

File property Value
File name Amd64_1504a71643bb46069db71f72e5ba40c5_31bf3856ad364e35_6.2.9200.21368_none_e1806eefe35bd8eb.manifest
File version Not applicable
File size 687
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name Amd64_1de84730cfca654f48d6355436b93f9b_31bf3856ad364e35_6.2.9200.21368_none_49b7eb10e6a6e027.manifest
File version Not applicable
File size 687
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name Amd64_3ac5d797726eec828732d1e25d3cb62d_31bf3856ad364e35_6.2.9200.21368_none_0e1ba357b83d7fba.manifest
File version Not applicable
File size 687
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name Amd64_3bee1dc69171ed41e83cbcdb914e5097_31bf3856ad364e35_6.2.9200.21368_none_a3d0b552e1d6761d.manifest
File version Not applicable
File size 687
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name Amd64_46774eda05f42a3edcd10f77b8646053_31bf3856ad364e35_6.2.9200.21368_none_813fe70cc0962848.manifest
File version Not applicable
File size 687
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name Amd64_6eb74bdcb54b44f0929749a4c81b6188_31bf3856ad364e35_6.2.9200.21368_none_f868cda47f226590.manifest
File version Not applicable
File size 679
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name Amd64_7cd9cf65130dd1771a7f70ad8e7958b4_31bf3856ad364e35_6.2.9200.21368_none_9ec3d30e0c3821bb.manifest
File version Not applicable
File size 687
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name Amd64_a2c2398d40f097c71edd3939d357a78a_31bf3856ad364e35_6.2.9200.21368_none_9b92daab53760d04.manifest
File version Not applicable
File size 687
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name Amd64_b2e75f5f2397323d6f1b1d6980bf8ce1_31bf3856ad364e35_6.2.9200.21368_none_8eafc201d1da3359.manifest
File version Not applicable
File size 687
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name Amd64_ce6483334118c50e7f19a787116801b8_31bf3856ad364e35_6.2.9200.21368_none_bc78e50452341141.manifest
File version Not applicable
File size 687
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name Amd64_ddea3b37cb7020a74d97ea7af0e79c94_31bf3856ad364e35_6.2.9200.21368_none_9a77ecb9520b29c4.manifest
File version Not applicable
File size 687
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name Amd64_de3bde71ba367ffb9fddd28093e3397f_31bf3856ad364e35_6.2.9200.21368_none_85050b305fc4d242.manifest
File version Not applicable
File size 687
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name Amd64_e19160b39af52573d3fe4a5f6a5e6ff6_31bf3856ad364e35_6.2.9200.21368_none_e0fd9ee2b2a90754.manifest
File version Not applicable
File size 687
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name Amd64_e2e64f1ee8521da82bd528113ac8b0a7_31bf3856ad364e35_6.2.9200.21368_none_2f5b5be53b47e1a0.manifest
File version Not applicable
File size 687
Date (UTC) 29-Jan-2015
Time (UTC) 00:34
Platform Not applicable
File name Msil_system.management.automation_31bf3856ad364e35_6.2.9200.21368_none_8298b081a6d05d59.manifest
File version Not applicable
File size 1,718
Date (UTC) 28-Jan-2015
Time (UTC) 15:50
Platform Not applicable

8b6167bb-7759-cb71-02e6-40d7f4b68f7c

      

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

See the terminology that Microsoft uses to describe software updates.