< Back
New-AMPowerShellModule
Post
NAME New-AMPowerShellModule
SYNOPSIS
This function creates a new PowerShell Module, PowerShell Manifest file and default Pester tests including default
PSScriptAnalyser tests for all files.
SYNTAX
New-AMPowerShellModule [-Name] <String> [-Path] <String> [-Author] <String> [-CompanyName] <String> [-Copyright]
<String> [-ModuleVersion] <String> [-Description] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Long description
PARAMETERS
-Name <String>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Author <String>
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CompanyName <String>
Required? true
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Copyright <String>
Required? true
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ModuleVersion <String>
Required? true
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
Required? true
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
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
Inputs to this cmdlet (if any)
OUTPUTS
Output from this cmdlet (if any)
NOTES
General notes
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-AMPowerShellModule -Name MyModule -Path C:\\MyPath\\ -Author 'Flemming Rohde' -CompanyName Automize
-Copyright 2018 -ModuleVersion 1.0.0.0 -Description testing -Verbose
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Another example of how to use this cmdlet
RELATED LINKS
SYNOPSIS
This function creates a new PowerShell Module, PowerShell Manifest file and default Pester tests including default
PSScriptAnalyser tests for all files.
SYNTAX
New-AMPowerShellModule [-Name] <String> [-Path] <String> [-Author] <String> [-CompanyName] <String> [-Copyright]
<String> [-ModuleVersion] <String> [-Description] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Long description
PARAMETERS
-Name <String>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Author <String>
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CompanyName <String>
Required? true
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Copyright <String>
Required? true
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ModuleVersion <String>
Required? true
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
Required? true
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
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
Inputs to this cmdlet (if any)
OUTPUTS
Output from this cmdlet (if any)
NOTES
General notes
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-AMPowerShellModule -Name MyModule -Path C:\\MyPath\\ -Author 'Flemming Rohde' -CompanyName Automize
-Copyright 2018 -ModuleVersion 1.0.0.0 -Description testing -Verbose
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Another example of how to use this cmdlet
RELATED LINKS