serverpreview:WmiProviders

Declares an app extensibility point of type windows.wmiProviders. This element identifies one or more Windows Management Instrumentation (WMI) providers to install, update, or uninstall out-of-band on Nano Server.

Element hierarchy

<Package>
<Applications>
<Application>
<Extensions>
<serverpreview:Extension>
<serverpreview:WmiProviders>

Syntax

<serverpreview:WmiProviders>
  <!-- Child elements -->
  serverpreview:WmiProvider{1,100}
</serverpreview:WmiProviders>

Key

      {} specific range of occurrences

Attributes and Elements

Attributes

None.

Child Elements

Child Element Description
serverpreview:WmiProvider Identifies a WMI provider to install, update, or uninstall out-of-band on Nano Server.

Parent Elements

Parent Element Description
serverpreview:Extension Declares an extensibility point for the app.

Examples

<Package ...
         xmlns:serverpreview=http://schemas.microsoft.com/appx/manifest/serverpreview/windows10"  
         IgnorableNamespaces="... serverpreview">
    <Applications>
        <Application>
            <Extensions>
                <serverpreview:Extension Category="windows.wmiProviders">  
                    <serverpreview:WmiProviders>  
                        <serverpreview:WmiProvider 
                                Name="ProviderName"
                                Namespace="root\standardcimv2"
                                HostingSpecification="networkServiceHost"
                                HostingGroup="ProviderGroup">  
                            <serverpreview:Mof 
                                    InstallMof="Install.mof"
                                    UninstallMof="Uninstall.mof"/>  
                        </serverpreview:WmiProvider>  
                        <serverpreview:WmiProvider  
                                Name="ProviderName2"  
                                Namespace="root\standardcimv2"
                                HostingSpecification="decoupled:Com"
                                DecoupledProviderExecutable="serviceExec.exe">  
                            <serverpreview:Mof  
                                    InstallMof="Install2.mof"  
                                    UninstallMof="Uninstall2.mof"/>  
                        </serverpreview:WmiProvider>  
                    </serverpreview:WmiProviders>  
                </serverpreview:Extension>  
            </Extensions>
        </Application>
    </Applications>
</Package>

Requirements

Namespace http://schemas.microsoft.com/appx/manifest/serverpreview/windows10