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
EXAMPLES
EXAMPLE 1
New-ModuleScaffolding -ModuleName NewModule -Path C:\ModuleProjects
PARAMETERS
-ModuleName
The name of the module project you want to create
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Path
The Path of the Directory you wish to create the Module Project Structure
Type: System.IO.DirectoryInfo
Parameter Sets: (All)
Aliases:
Required: True
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
String and DirectoryInfo Object
OUTPUTS
NOTES
Does not overwrite any existing directories