| external help file | PSPublishModule-help.xml |
|---|---|
| Module Name | PSPublishModule |
| online version | https://github.com/EvotecIT/PSPublishModule |
| schema | 2.0.0 |
Creates a configuration for importing PowerShell modules.
New-ConfigurationImportModule [-ImportSelf] [-ImportRequiredModules] [-SkipBinaryConflictAnalysis] [-PreferBinaryConflictOrder] [-SkipBinaryDependencyCheck] [<CommonParameters>]Controls which modules are imported during a pipeline run (the module under build itself and/or its RequiredModules). This is primarily used by test and documentation steps that execute PowerShell code.
PS> New-ConfigurationImportModule -ImportSelf -ImportRequiredModulesEnsures the pipeline imports the module and required dependencies before running tests or generating docs.
PS> New-ConfigurationImportModule -ImportSelfIndicates whether to import required modules from the manifest.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueIndicates whether to import the current module itself.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueReorders RequiredModules using a conflict-aware heuristic before manifest refresh and import validation.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueSkips required-module and self-module binary conflict advisories during import validation.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueSkips binary dependency preflight before importing the built module.
Type: SwitchParameter
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