external help file | Module Name | online version | schema |
---|---|---|---|
IoTCoreImaging-help.xml |
IoTCoreImaging |
2.0.0 |
Adds a registry package directory to the workspace and generates the required wm.xml file.
Add-IoTRegistryPackage [-OutputName] <String> [-RegKeys] <String[][]> [<CommonParameters>]
This command creates a registry package directory in the Common\packages folder and generates the wm.xml file. In addition to that, it also adds a feature id (OutputName) in the OEMCommonFM.xml.
$myregkeys = @(
("`$(hklm.software)\`$(OEMNAME)\Test","StringValue", "REG_SZ", "Test string"),
("`$(hklm.software)\`$(OEMNAME)\Test","DWordValue", "REG_DWORD", "0x12AB34CD"))
Add-IoTRegistryPackage Reg.Settings $myregkeys
Mandatory parameter specifying the directory name (namespace.name format).
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Mandatory parameter specifying the reg keys to be specified (array of arrays). Each element should contain reg key, reg value , reg value type and reg value data in that order. For just the keys with no value, the remaining fields can be $null.
Type: String[][]
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
See New-IoTCabPackage to build a cab file.