< Back

New-ModuleScaffolding

Sat Jan 18, 2020 4:21 pm

NAME New-ModuleScaffolding



SYNOPSIS

Creates a directory structure for a powershell module





SYNTAX

New-ModuleScaffolding [-ModuleName] <String> [-Path] <DirectoryInfo> [<CommonParameters>]





DESCRIPTION

Creates a directory structure for a powershell module. It also includes the psd1 and psm1 files along with an

simple way to define what is exported and

what is kept internal for the module





PARAMETERS

-ModuleName <String>

The name of the module project you want to create



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Path <DirectoryInfo>

The Path of the Directory you wish to create the Module Project Structure



Required? true

Position? 2

Default value

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

String and DirectoryInfo Object





OUTPUTS



NOTES





Does not overwrite any existing directories



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>New-ModuleScaffolding -ModuleName NewModule -Path C:\\ModuleProjects















RELATED LINKS