Skip to content

Latest commit

 

History

History
80 lines (57 loc) · 2.08 KB

Test-PlasterManifest.md

File metadata and controls

80 lines (57 loc) · 2.08 KB
external help file Module Name online version schema
Plaster-help.xml
Plaster
2.0.0

Test-PlasterManifest

SYNOPSIS

Verifies that a plaster manifest file is valid.

SYNTAX

Test-PlasterManifest [[-Path] <String[]>] [<CommonParameters>]

DESCRIPTION

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.

EXAMPLES

EXAMPLE 1

Test-PlasterManifest MyTemplate\plasterManifest.xml

Verifies that the plasterManifest.xml file in the MyTemplate sub-directory is valid.

EXAMPLE 2

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.

PARAMETERS

-Path

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

You can pipe the path to a plaster manifest to Test-PlasterManifest.

OUTPUTS

System.Xml.XmlDocument

Test-PlasterManifest returns a System.Xml.XmlDocument if the manifest is valid. Otherwise it returns $null.

NOTES

RELATED LINKS

Invoke-Plaster New-PlasterManifest