< Back

Set-DataBinding

Sat Jan 18, 2020 9:33 pm

NAME Set-DataBinding



SYNOPSIS

Databind all templates as per a certain Data Model.





SYNTAX

Set-DataBinding [[-Model] <String>] [[-ModelName] <String>] [[-Path] <String[]>] [[-IncludedExtensions]

<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



-IncludedExtensions <String[]>

Array of all file extensions need to be looked up.



Required? false

Position? 4

Default value @('*.foam','*.template')

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





RELATED LINKS