Get-ModuleManifest¶
SYNOPSIS¶
Get the module manifest.
SYNTAX¶
Get-ModuleManifest [-Path] <String> [[-As] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION¶
Get the module manifest as a path, file info, content, or hashtable.
EXAMPLES¶
EXAMPLE 1¶
Get-PSModuleManifest -Path 'src/PSModule/PSModule.psd1' -As Hashtable
PARAMETERS¶
-Path¶
Path to the module manifest file.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-As¶
The format of the output.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: Hashtable
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction¶
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
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.