< Back
Initialize-PSBuild
Post
NAME Initialize-PSBuild
SYNOPSIS
Initializes BuildHelpers to populate build environment variables.
SYNTAX
Initialize-PSBuild [-BuildEnvironment] <Hashtable> [-UseBuildHelpers] [<CommonParameters>]
DESCRIPTION
Initializes BuildHelpers to populate build environment variables.
PARAMETERS
-BuildEnvironment <Hashtable>
Contains the PowerShellBuild settings (known as $PSBPreference).
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-UseBuildHelpers [<SwitchParameter>]
Use BuildHelpers module to popular common environment variables based on current build system context.
Required? false
Position? named
Default value False
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
-------------------------- EXAMPLE 1 --------------------------
PS>Initialize-PSBuild -UseBuildHelpers
Populate build system environment variables.
RELATED LINKS
SYNOPSIS
Initializes BuildHelpers to populate build environment variables.
SYNTAX
Initialize-PSBuild [-BuildEnvironment] <Hashtable> [-UseBuildHelpers] [<CommonParameters>]
DESCRIPTION
Initializes BuildHelpers to populate build environment variables.
PARAMETERS
-BuildEnvironment <Hashtable>
Contains the PowerShellBuild settings (known as $PSBPreference).
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-UseBuildHelpers [<SwitchParameter>]
Use BuildHelpers module to popular common environment variables based on current build system context.
Required? false
Position? named
Default value False
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
-------------------------- EXAMPLE 1 --------------------------
PS>Initialize-PSBuild -UseBuildHelpers
Populate build system environment variables.
RELATED LINKS