< Back
New-PSModule
Post
NAME New-PSModule
SYNTAX
New-PSModule [-ModuleName] <string> [-Tags] <string> [-Description] <string> [[-Extension] <array>]
[[-TemplatizerVersion] <version>] [[-ConfigPath] <string>] [[-Source] <string>] [[-Destination] <string>]
[-CompanyName] <string> [-Author] <string> [-ScmUsername] <string> [[-ScmBranch] <string>] [[-ProjectUri]
<string>] [[-IconUri] <string>] [[-LicenseUri] <string>] [[-ScmType] {GitHub}] [-NugetApiKey] <string>
[[-AzureDevopsPersonalAccessToken] <string>] [[-AzureDevopsOrg] <string>] [-Force] [-CreateRepository]
[-PublishModule] [-CreateAzureDevopsPipeline] [<CommonParameters>]
PARAMETERS
-Author <string>
Author
Required? true
Position? 9
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-AzureDevopsOrg <string>
Required? false
Position? 18
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-AzureDevopsPersonalAccessToken <string>
Required? false
Position? 17
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-CompanyName <string>
Company Name
Required? true
Position? 8
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ConfigPath <string>
Required? false
Position? 5
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-CreateAzureDevopsPipeline
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-CreateRepository
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Description <string>
Module description
Required? true
Position? 2
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Destination <string>
Required? false
Position? 7
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Extension <array>
Required? false
Position? 3
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Force
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-IconUri <string>
Required? false
Position? 13
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-LicenseUri <string>
Required? false
Position? 14
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ModuleName <string>
Required? true
Position? 0
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-NugetApiKey <string>
NugetApiKey for publishing to PowerShell gallery
Required? true
Position? 16
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ProjectUri <string>
Required? false
Position? 12
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-PublishModule
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ScmBranch <string>
Required? false
Position? 11
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ScmType <string>
Required? false
Position? 15
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ScmUsername <string>
Source Control user name
Required? true
Position? 10
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Source <string>
Required? false
Position? 6
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Tags <string>
Enter the tags comma separated (i.e. tag1,tag2,tag3
Required? true
Position? 1
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-TemplatizerVersion <version>
Required? false
Position? 4
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? 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
None
OUTPUTS
System.Object
ALIASES
None
REMARKS
None
SYNTAX
New-PSModule [-ModuleName] <string> [-Tags] <string> [-Description] <string> [[-Extension] <array>]
[[-TemplatizerVersion] <version>] [[-ConfigPath] <string>] [[-Source] <string>] [[-Destination] <string>]
[-CompanyName] <string> [-Author] <string> [-ScmUsername] <string> [[-ScmBranch] <string>] [[-ProjectUri]
<string>] [[-IconUri] <string>] [[-LicenseUri] <string>] [[-ScmType] {GitHub}] [-NugetApiKey] <string>
[[-AzureDevopsPersonalAccessToken] <string>] [[-AzureDevopsOrg] <string>] [-Force] [-CreateRepository]
[-PublishModule] [-CreateAzureDevopsPipeline] [<CommonParameters>]
PARAMETERS
-Author <string>
Author
Required? true
Position? 9
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-AzureDevopsOrg <string>
Required? false
Position? 18
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-AzureDevopsPersonalAccessToken <string>
Required? false
Position? 17
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-CompanyName <string>
Company Name
Required? true
Position? 8
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ConfigPath <string>
Required? false
Position? 5
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-CreateAzureDevopsPipeline
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-CreateRepository
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Description <string>
Module description
Required? true
Position? 2
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Destination <string>
Required? false
Position? 7
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Extension <array>
Required? false
Position? 3
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Force
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-IconUri <string>
Required? false
Position? 13
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-LicenseUri <string>
Required? false
Position? 14
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ModuleName <string>
Required? true
Position? 0
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-NugetApiKey <string>
NugetApiKey for publishing to PowerShell gallery
Required? true
Position? 16
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ProjectUri <string>
Required? false
Position? 12
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-PublishModule
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ScmBranch <string>
Required? false
Position? 11
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ScmType <string>
Required? false
Position? 15
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ScmUsername <string>
Source Control user name
Required? true
Position? 10
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Source <string>
Required? false
Position? 6
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Tags <string>
Enter the tags comma separated (i.e. tag1,tag2,tag3
Required? true
Position? 1
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-TemplatizerVersion <version>
Required? false
Position? 4
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? 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
None
OUTPUTS
System.Object
ALIASES
None
REMARKS
None