external help file: ModuleBuild-help.xml Module Name: ModuleBuild online version: https://github.com/zloeber/ModuleBuild schema: 2.0.0


Initialize-MBModuleBuild

SYNOPSIS

Set up the framework for a ModuleBuild project.

SYNTAX

Initialize-MBModuleBuild [[-Path] <String>] [[-SourceModule] <String>] [<CommonParameters>]

DESCRIPTION

Set up the framework for a ModuleBuild project. Optionally supply an existing module manifest path to pull in information from it to begin a migration to ModuleBuild.

EXAMPLES

EXAMPLE 1

Initialize-MBModuleBuild -Path C:\Work\NewModule

Prompt for all the settings required to get a new modulebuild project setup in c:\work\NewModule.

EXAMPLE 2

Initialize-MBModuleBuild -Path C:\Work\NewModule -SourceModule c:\work\myoldmodule\myoldmodule.psd1

Pulls some information from myoldmodule.psd1 and then prompt for any remaining required information to create a modulebuild based project from it in C:\Work\NewModule

Prompt for all the settings required to get a new modulebuild project setup in c:\work\NewModule.

PARAMETERS

-Path

Specifies the path to create the project.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-SourceModule

If specified, will import a source module manifest file for module information.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

https://github.com/zloeber/ModuleBuild