Add-TargetPortToMaskingSet PowerShell command fails in Windows Server 2012

Applies To
Windows Server 2012 Datacenter Windows Server 2012 Datacenter Windows Server 2012 Essentials Windows Server 2012 Foundation Windows Server 2012 Foundation Windows Server 2012 Standard Windows Server 2012 Standard

Symptoms

When you use the Add-TargetPortToMaskingSet PowerShell command on a computer that is running Windows Server 2012, the command may fail. Additionally, the failed command may cause the Virtual Machine Manager Configuration Analyzer (VMMCA) for System Center 2012 to fail when you use a storage subsystem that supports multi-port per view selection.

Cause

This issue occurs because the Add-TargetPortToMaskingSet PowerShell command uses an incorrect string to perform the operation.

Resolution

This hotfix is also available at Microsoft Update Catalog.

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

To apply this hotfix, you must be running Windows Server 2012.

Registry information

To apply this hotfix, you do not have to make any changes to the registry.

Restart requirement

You must 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 Server 2012 file information notesImportant Windows 8 hotfixes and Windows Server 2012 hotfixes are included in the same packages. However, only "Windows 8" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 8" 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.16 xxx Windows Server 2012 RTM GDR
    6.2.920 0.20 xxx Windows Server 2012 RTM LDR
  • GDR service branches contain only those fixes that are widely released to address widespread, critical issues. LDR service branches contain hotfixes in addition to widely released fixes.

  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2012" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely 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 x64-based versions of Windows Server 2012

File name File version File size Date Time Platform
Delegatorprovider.dll 6.2.9200.16384 25,088 26-Jul-2012 03:05 x64
Storagewmi.dll 6.2.9200.16517 1,536,512 01-Feb-2013 01:03 x64
Storagewmi.mof Not applicable 162,360 23-Jun-2012 23:25 Not applicable
Storagewmi_passthru.dll 6.2.9200.16384 21,504 26-Jul-2012 03:07 x64
Storagewmi_passthru.mof Not applicable 1,898 02-Jun-2012 14:55 Not applicable
Storagewmi_passthru_uninstall.mof Not applicable 1,651 02-Jun-2012 14:55 Not applicable
Storagewmi_uninstall.mof Not applicable 7,472 17-Jun-2012 15:32 Not applicable
Delegatorprovider.dll 6.2.9200.16384 25,088 26-Jul-2012 03:05 x64
Storagewmi.dll 6.2.9200.20622 1,536,512 01-Feb-2013 00:49 x64
Storagewmi.mof Not applicable 162,360 23-Jun-2012 23:25 Not applicable
Storagewmi_passthru.dll 6.2.9200.16384 21,504 26-Jul-2012 03:07 x64
Storagewmi_passthru.mof Not applicable 1,898 02-Jun-2012 14:55 Not applicable
Storagewmi_passthru_uninstall.mof Not applicable 1,651 02-Jun-2012 14:55 Not applicable
Storagewmi_uninstall.mof Not applicable 7,472 17-Jun-2012 15:32 Not applicable
Delegatorprovider.dll 6.2.9200.16384 19,456 26-Jul-2012 03:18 x86
Storagewmi.dll 6.2.9200.16517 1,217,536 01-Feb-2013 09:01 x86
Storagewmi.mof Not applicable 162,360 23-Jun-2012 23:25 Not applicable
Storagewmi_passthru.dll 6.2.9200.16384 17,920 26-Jul-2012 03:20 x86
Storagewmi_passthru.mof Not applicable 1,898 02-Jun-2012 14:55 Not applicable
Storagewmi_passthru_uninstall.mof Not applicable 1,651 02-Jun-2012 14:55 Not applicable
Storagewmi_uninstall.mof Not applicable 7,472 17-Jun-2012 15:33 Not applicable
Delegatorprovider.dll 6.2.9200.16384 19,456 26-Jul-2012 03:18 x86
Storagewmi.dll 6.2.9200.20622 1,217,536 01-Feb-2013 09:02 x86
Storagewmi.mof Not applicable 162,360 23-Jun-2012 23:25 Not applicable
Storagewmi_passthru.dll 6.2.9200.16384 17,920 26-Jul-2012 03:20 x86
Storagewmi_passthru.mof Not applicable 1,898 02-Jun-2012 14:55 Not applicable
Storagewmi_passthru_uninstall.mof Not applicable 1,651 02-Jun-2012 14:55 Not applicable
Storagewmi_uninstall.mof Not applicable 7,472 17-Jun-2012 15:33 Not applicable

        
      

      

Status

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

More Information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows Server 2012

Additional files for all supported x64-based versions of Windows Server 2012

File name Amd64_microsoft-windows-storagemanagementwmi_31bf3856ad364e35_6.2.9200.16517_none_aa045f33d41a4492.manifest
File version Not applicable
File size 9,028
Date (UTC) 01-Feb-2013
Time (UTC) 20:40
Platform Not applicable
File name Amd64_microsoft-windows-storagemanagementwmi_31bf3856ad364e35_6.2.9200.20622_none_aa7e2aa0ed44819a.manifest
File version Not applicable
File size 9,028
Date (UTC) 01-Feb-2013
Time (UTC) 20:40
Platform Not applicable
File name Wow64_microsoft-windows-storagemanagementwmi_31bf3856ad364e35_6.2.9200.16517_none_b4590986087b068d.manifest
File version Not applicable
File size 9,026
Date (UTC) 01-Feb-2013
Time (UTC) 20:40
Platform Not applicable
File name Wow64_microsoft-windows-storagemanagementwmi_31bf3856ad364e35_6.2.9200.20622_none_b4d2d4f321a54395.manifest
File version Not applicable
File size 9,026
Date (UTC) 01-Feb-2013
Time (UTC) 20:40
Platform Not applicable