external help file | Module Name | online version | schema |
---|---|---|---|
Plaster-help.xml |
Plaster |
2.0.0 |
Verifies that a plaster manifest file is valid.
Test-PlasterManifest [[-Path] <String[]>] [<CommonParameters>]
Verifies that a plaster manifest file is valid. If there are any errors, the details of the errors can be viewed by using the Verbose parameter.
Test-PlasterManifest MyTemplate\plasterManifest.xml
Verifies that the plasterManifest.xml file in the MyTemplate sub-directory is valid.
Test-PlasterManifest plasterManifest.xml -Verbose
Verifies that the plasterManifest.xml file in the current directory is valid. If there are any validation errors, using -Verbose will display the details of those errors.
Specifies a path to a plasterManifest.xml file.
Type: String[]
Parameter Sets: (All)
Aliases: PSPath
Required: False
Position: 0
Default value: "$pwd\plasterManifest.xml"
Accept pipeline input: True (ByPropertyName, ByValue)
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.
You can pipe the path to a plaster manifest to Test-PlasterManifest.
Test-PlasterManifest returns a System.Xml.XmlDocument if the manifest is valid. Otherwise it returns $null.