external help file | Module Name | online version | schema |
---|---|---|---|
DellOpenManage-help.xml |
DellOpenManage |
2.0.0 |
Create template from XML string in OpenManage Enterprise
New-OMETemplateFromFile [[-Name] <String>] [-Content] <String> [[-TemplateType] <String>] [-Wait]
[[-WaitTime] <Int32>] [<CommonParameters>]
Perform an export of the System Configuration Profile (SCP) as an example
" -Wait
Create new deployment template from string
New-OMETemplateFromFile -Name "TestTemplate" -Content $(Get-Content -Path .\Data.xml | Out-String)
Create new deployment template from file
New-OMETemplateFromFile -Name "TestTemplate" -TemplateType "Configuration" -Content $(Get-Content -Path .\Data.xml | Out-String)
Create new configuration template from file
String that will be assigned the name of the template
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: "Template $((Get-Date).ToString('yyyyMMddHHmmss'))"
Accept pipeline input: False
Accept wildcard characters: False
XML string containing template to import
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
{{ Fill TemplateType Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: Deployment
Accept pipeline input: False
Accept wildcard characters: False
Wait for job to complete
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Time, in seconds, to wait for the job to complete
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: 3600
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.