-
Notifications
You must be signed in to change notification settings - Fork 1
Remove ModuleManifestComments
Nick Spreitzer edited this page Nov 17, 2019
·
7 revisions
external help file: RemoveModuleManifestComments-help.xml
Module Name: WhatsNew
schema: 2.0.0
Removes comments from module manifest files.
Remove-ModuleManifestComments
[-ManifestPath] <String>
[-NoConfirm]
[-Confirm]
[<CommonParameters>]
Removes all comments from PowerShell module manifests. The end result is a file that's less cluttered and easier to read.
PS C:\> Remove-ModuleManifestComments ".\MyManifest.psd1" -NoConfirmLoads .\MyManifest.psd1, removes all comments, and overwrites the existing file without confirming.
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe path to the module manifest file.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseDo not confirm before overwriting the manifest file.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.