Skip to content

Format-ModuleManifest

SYNOPSIS

Formats a module manifest file.

SYNTAX

__AllParameterSets

Format-ModuleManifest [-Path] <string> [<CommonParameters>]

ALIASES

This cmdlet has the following aliases, {{Insert list of aliases}}

DESCRIPTION

This function formats a module manifest file, by removing comments and empty lines, and then formatting the file using the Invoke-Formatter function.

EXAMPLES

EXAMPLE 1

Format-ModuleManifest -Path 'C:\MyModule\MyModule.psd1'

PARAMETERS

-Path

Path to the module manifest file.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

{{ Fill in the related links here }}