This cmdlet is part of the Vexasoft Cmdlet Library. You can click here to find out more.



Enables the WMI MSI Provider on the local or a remote Windows 2003 computer.


  • Enable-MSIProvider [-i386] [-ComputerName] [-Credential]


The Enable-MSIProvider cmdlet enables the WMI MSI provider on local or remote Windows 2003 computers. This provider is required for performing remote Windows Installers tasks and is used by the MSIProduct Vexasoft cmdlets. This provider is enabled by default in other versions of Windows. Use of this cmdlet requires the Windows 2003 installation files.

It should be noted that for issues of speed when dealing with large numbers of computers, this command does not wait to verify that installation of the provider was successful, only that it was successfully initiated. Verification of a successful install should be made using the Get-MSIProduct cmdlet.


  • i386 The path to the Windows 2003 installation files. In x64 systems this parameter should be pointed at the AMD64 folder.
  • ComputerName The computer against which to run the cmdlet. By default this parameter will be populated with the name of the local computer.
  • Credential The credentials under which to run the cmdlet. By default this cmdlet will run as the current user. Using this parameter and the Get-PSCredential cmdlet you can specify an alternate set of credentials under which to execute this command.


Enable-MSIProvider accepts pipeline input only for the ComputerName parameter and requires that the input object contain a property named either Computer, CN or ComputerName.


Enable-MSIProvider makes changes directly to Windows and does not output any Powershell objects.


The Enable-MSIProvider cmdlet requires that the Remote Registry and RPC services are started on the computer it is trying to access and that DNS services are available to resolve target host names.

Example 1

This command will enable the MSI Provider on the local Windows 2003 computer:

Enable-MSIProvider -i386 \\WDS01\W2k3Source\i386

Example 2

This command will enable the MSI Provider on the remote computer W2k3Server:

Enable-MSIProvider -i386 \\WDS01\W2k3Source\i386 -Computer W2k3Server