external help file | Module Name | online version | schema |
---|---|---|---|
PowerBolt-help.xml |
PowerBolt |
2.0.0 |
Updates root-module and manifest file with commands to be exported.
Update-ModuleExports [[-Path] <String>] [-SourceFolderPath <String>] [-Include <String[]>]
[-Exclude <String[]>] [-PassThru] [<CommonParameters>]
Update-ModuleExports [-SourceFolderPath <String>] [-Include <String[]>] [-Exclude <String[]>] [-PassThru]
[-Name] <String> [<CommonParameters>]
When called, it will search for .ps1 files in the SourceDirectory
and update the root module with using module
statements with the files it has found. If anywhere in the file a # NoExport: <Command>
comment is found, it will omit that command from being listed in the manifest file. Also all commands that are intended to be exported must follow the PowerShell convention of <verb>-<noun>
.
PS C:\> {{ Add example code here }}
{{ Add example description here }}
{{Fill Exclude Description}}
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{Fill Include Description}}
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{Fill Name Description}}
Type: String
Parameter Sets: ByName
Aliases:
Accepted values: CimCmdlets, Microsoft.PowerShell.Management, Microsoft.PowerShell.Utility, Pester, Plaster, platyPS, posh-git, PowerBolt, PSReadLine
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{Fill PassThru Description}}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{Fill Path Description}}
Type: String
Parameter Sets: ByPath
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{Fill SourceFolderPath Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).