| external help file | PSPublishModule-help.xml |
|---|---|
| Module Name | PSPublishModule |
| online version | https://github.com/EvotecIT/PSPublishModule |
| schema | 2.0.0 |
Defines a command import configuration for the build pipeline.
New-ConfigurationCommand [-ModuleName <string>] [-CommandName <string[]>] [<CommonParameters>]Used by the build pipeline to declare which commands should be imported from an external module at build time. This helps make build scripts deterministic and explicit about their dependencies.
PS> New-ConfigurationCommand -ModuleName 'Pester' -CommandName 'Invoke-Pester'Declares a dependency on Invoke-Pester from the Pester module.
PS> New-ConfigurationCommand -ModuleName 'PSWriteColor' -CommandName 'Write-Color','Write-Text'Declares multiple command references from the same module.
One or more command names to reference from the module.
Type: String[]
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueName of the module that contains the commands.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
None
System.Object
- None