< Back

Save-MAML

Tue Jan 14, 2020 12:56 am

NAME Save-MAML



SYNOPSIS

Saves a Module's MAML





SYNTAX

Save-MAML [-Compact <Switch>] [-Culture <Cultureinfo>] [-NoVersion <Switch>] [-PassThru <Switch>]

[<CommonParameters>]



Save-MAML [-Module <System.String[]>] [-Compact <Switch>] [-Culture <Cultureinfo>] [-NoVersion <Switch>]

[-PassThru <Switch>] [<CommonParameters>]





DESCRIPTION

Generates a Module's MAML file, and then saves it to the appropriate location.





PARAMETERS

-Compact [<Switch>]

If set, the generated MAML will be compact (no extra whitespace or indentation). If not set, the MAML will be

indented.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-Culture [<Cultureinfo>]

If provided, will save the MAML to a different directory than the current UI culture.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-Module [<System.String[]>]

The name of one or more modules.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-NoVersion [<Switch>]

If set, the generate MAML will not contain a version number.

This slightly reduces the size of the MAML file, and reduces the rate of changes in the MAML file.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-PassThru [<Switch>]

If set, will return the files that were generated.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? 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



OUTPUTS

System.Nullable





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Save-Maml -Module HelpOut



-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Save-Maml -Module HelpOut -WhatIf



-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Save-Maml -Module HelpOut -PassThru





RELATED LINKS

ConvertTo-MAML