API Reference
New-ConfigurationManifest
Creates a configuration manifest for a PowerShell module.
Remarks
Emits a manifest configuration segment that is later applied to the module .psd1 during a build. Use this to define identity and metadata (version, GUID, author, tags, links) in a build script / JSON pipeline.
Examples
Create a minimal manifest segment
PS>
New-ConfigurationManifest -ModuleVersion '1.0.0' -Guid 'eb76426a-1992-40a5-82cd-6480f883ef4d' -Author 'YourName'
Defines the core identity fields required for a module manifest.
Create a manifest with tags and links
PS>
New-ConfigurationManifest -ModuleVersion '1.0.X' -Guid 'eb76426a-1992-40a5-82cd-6480f883ef4d' -Author 'YourName' -Tags 'PowerShell','Build' -ProjectUri 'https://github.com/YourOrg/YourRepo' -LicenseUri 'https://opensource.org/licenses/MIT'
Populates common PSGallery metadata that shows up on the gallery and in generated docs.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-ConfigurationManifest [-AliasesToExport <String[]>] -Author <String> [-CmdletsToExport <String[]>] [-CompanyName <String>] [-CompatiblePSEditions <String[]>] [-Copyright <String>] [-Description <String>] [-DotNetFrameworkVersion <String>] [-FormatsToProcess <String[]>] [-FunctionsToExport <String[]>] -Guid <String> [-IconUri <String>] [-LicenseUri <String>] -ModuleVersion <String> [-PowerShellVersion <String>] [-Prerelease <String>] [-ProjectUri <String>] [-RequireLicenseAcceptance] [-Tags <String[]>] [<CommonParameters>]
#
All Parameter SetsParameters
- AliasesToExport String[]
- Overrides aliases to export in the module manifest.
- Author String
- Identifies the module author.
- CmdletsToExport String[]
- Overrides cmdlets to export in the module manifest.
- CompanyName String
- Identifies the company or vendor who created the module.
- CompatiblePSEditions String[]
- Specifies the module's compatible PowerShell editions.
- Copyright String
- Specifies a copyright statement for the module.
- Description String
- Describes the module at a high level.
- DotNetFrameworkVersion String
- Specifies the minimum version of the Microsoft .NET Framework that the module requires.
- FormatsToProcess String[]
- Specifies formatting files (.ps1xml) that run when the module is imported.
- FunctionsToExport String[]
- Overrides functions to export in the module manifest.
- Guid String
- Specifies a unique identifier for the module.
- IconUri String
- Specifies the URI for the module's icon.
- LicenseUri String
- Specifies the URI for the module's license.
- ModuleVersion String
- Specifies the version of the module.
- PowerShellVersion String
- Specifies the minimum version of PowerShell this module requires.
- Prerelease String
- Specifies the prerelease tag for the module.
- ProjectUri String
- Specifies the URI for the module's project page.
- RequireLicenseAcceptance SwitchParameter
- When set, indicates the module requires explicit user license acceptance (PowerShellGet).
- Tags String[]
- Specifies tags for the module.
Outputs
System.Object