external help file | Module Name | online version | schema |
---|---|---|---|
IoTCoreImaging-help.xml |
IoTCoreImaging |
2.0.0 |
Factory method, returing the IoTWMWriter class object used to write namespace.name.wm.xml file.
New-IoTWMWriter [-FileDir] <String> [-Namespace] <String> [[-Name] <String>] [-Force] [<CommonParameters>]
Factory method, returing the IoTWMWriter class object.
$wmwriter = New-IoTWMWriter C:\Test Custom Settings
$wmwriter.Start("MainOS")
$wmwriter.AddRegKeys("\`$(hklm.software)\Contoso\EmptyKey", $null)
$wmwriter.Finish()
Mandatory parameter, specifying the directory where the wm.xml file needs to be created.
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 namespace.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Mandatory parameter, specifying the name.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Mandatory parameter, specifying the name.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: False
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).
This class is used in the Add-IoT* methods.