< Back
Export-BuildScript
Post
NAME Export-BuildScript
SYNOPSIS
Export a build script for use with Invoke-Build.
SYNTAX
Export-BuildScript [[-BuildInfo] <PSObject>] [[-BuildSystem] <String>] [[-Path] <String>] [<CommonParameters>]
DESCRIPTION
Export a build script for use with Invoke-Build.
PARAMETERS
-BuildInfo <PSObject>
The build information object is used to determine which tasks are applicable.
Required? false
Position? 1
Default value (Get-BuildInfo)
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-BuildSystem <String>
By default the build system is automatically discovered. The BuildSystem parameter overrides any automatically
discovered value. Tasks associated with the build system are added to the generated script.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
The build script will be written to the the specified path.
Required? false
Position? 3
Default value .build.ps1
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
BuildInfo (from Get-BuildInfo)
OUTPUTS
System.String
RELATED LINKS
SYNOPSIS
Export a build script for use with Invoke-Build.
SYNTAX
Export-BuildScript [[-BuildInfo] <PSObject>] [[-BuildSystem] <String>] [[-Path] <String>] [<CommonParameters>]
DESCRIPTION
Export a build script for use with Invoke-Build.
PARAMETERS
-BuildInfo <PSObject>
The build information object is used to determine which tasks are applicable.
Required? false
Position? 1
Default value (Get-BuildInfo)
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-BuildSystem <String>
By default the build system is automatically discovered. The BuildSystem parameter overrides any automatically
discovered value. Tasks associated with the build system are added to the generated script.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
The build script will be written to the the specified path.
Required? false
Position? 3
Default value .build.ps1
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
BuildInfo (from Get-BuildInfo)
OUTPUTS
System.String
RELATED LINKS