< Back
Document
Post
NAME Document
SYNOPSIS
Initializes a new PScribo document object.
SYNTAX
Document [-Name] <String> [[-ScriptBlock] <ScriptBlock>] [-Id <String>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Name <String>
PScribo document name
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ScriptBlock <ScriptBlock>
PScribo document DSL script block containing Section, Paragraph and/or Table etc. commands.
Required? false
Position? 2
Default value $(throw $localized.NoScriptBlockProvidedError)
Accept pipeline input? false
Accept wildcard characters? false
-Id <String>
PScribo document Id
Required? false
Position? named
Default value $Name.Replace(' ','')
Accept pipeline input? false
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.Management.Automation.PSCustomObject
RELATED LINKS
SYNOPSIS
Initializes a new PScribo document object.
SYNTAX
Document [-Name] <String> [[-ScriptBlock] <ScriptBlock>] [-Id <String>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Name <String>
PScribo document name
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ScriptBlock <ScriptBlock>
PScribo document DSL script block containing Section, Paragraph and/or Table etc. commands.
Required? false
Position? 2
Default value $(throw $localized.NoScriptBlockProvidedError)
Accept pipeline input? false
Accept wildcard characters? false
-Id <String>
PScribo document Id
Required? false
Position? named
Default value $Name.Replace(' ','')
Accept pipeline input? false
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.Management.Automation.PSCustomObject
RELATED LINKS