< Back

Get-FormattedTemplate

Sat Jan 18, 2020 9:32 pm

NAME Get-FormattedTemplate



SYNOPSIS

Databind all templates as per a certain Data Model.





SYNTAX

Get-FormattedTemplate [[-Model] <String>] [[-ModelName] <String>] [[-Path] <String>] [[-OutputPath] <String>]

[-Silent] [<CommonParameters>]





DESCRIPTION

This Function goes through all paths and match against ModelName to data bind all templates from a certain Data

Model.





PARAMETERS

-Model <String>

The Model of Which templates will be bound against.



Required? false

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-ModelName <String>

This is Model Name being Used.



Required? false

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Path <String>

This is the URL Paths to loop through.



Required? false

Position? 3

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-OutputPath <String>

This is the Path where to save the Formatted Template.



Required? false

Position? 4

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Silent [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.String. Get-FormattedTemplate returns a the formatted template string.





NOTES





This Method Pipes the Formated Template and Saves it in the Output Path if Provided.





RELATED LINKS