| external help file | PSPublishModule-help.xml |
|---|---|
| Module Name | PSPublishModule |
| online version | https://github.com/EvotecIT/PSPublishModule |
| schema | 2.0.0 |
Emits a reusable module build profile for common PowerForge module builds.
New-ConfigurationModuleBuildProfile [-Profile <ModuleBuildProfileKind>] [-Documentation <bool>] [-DocumentationPath <string>] [-DocumentationReadmePath <string>] [-SyncExternalHelpToProjectRoot <bool>] [-AboutTopicsSourcePath <string[]>] [-Validation <bool>] [-EnableScriptAnalyzer <bool>] [-FileConsistency <bool>] [-RequiredEncoding <FileConsistencyEncoding>] [-RequiredLineEnding <FileConsistencyLineEnding>] [-FileConsistencyExcludeDirectories <string[]>] [-EncodingOverrides <hashtable>] [-Compatibility <bool>] [-MinimumCompatibilityPercentage <int>] [-ImportSelf <bool>] [-ImportRequiredModules <bool>] [-MergeModuleOnBuild <bool>] [-MergeFunctionsFromApprovedModules <bool>] [-SignModule <bool>] [-CertificateThumbprint <string>] [-SkipBuiltinReplacements] [-DoNotAttemptToFixRelativePaths] [-DotSourceLibraries] [-DotSourceClasses] [-InstallMissingModules <bool>] [-VersionedInstallStrategy <InstallationStrategy>] [-VersionedInstallKeep <int>] [-KillLockersBeforeInstall] [-KillLockersForce] [-NETProjectPath <string>] [-NETProjectName <string>] [-NETConfiguration <string>] [-NETFramework <string[]>] [-NETHandleAssemblyWithSameName] [-NETAssemblyLoadContext] [-ResolveBinaryConflicts] [-ResolveBinaryConflictsName <string>] [-NETAssemblyTypeAcceleratorMode <AssemblyTypeAcceleratorExportMode>] [-NETAssemblyTypeAccelerators <string[]>] [-NETAssemblyTypeAcceleratorAssemblies <string[]>] [-SignIncludeBinaries] [-SignIncludeInternals] [-SignIncludeExe] [<CommonParameters>]This cmdlet emits the same configuration segment types as the lower-level New-ConfigurationFormat, New-ConfigurationDocumentation, New-ConfigurationValidation, New-ConfigurationFileConsistency, New-ConfigurationCompatibility, New-ConfigurationImportModule, and New-ConfigurationBuild commands. Use it when a module wrapper should stay thin and only declare project-specific values.
New-ConfigurationModuleBuildProfileNew-ConfigurationModuleBuildProfile -Profile Binary -NETProjectName MyModule -NETProjectPath Sources\MyModuleSource paths for about-topic files.
Type: String[]
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueCode-signing certificate thumbprint.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueEnable cross-version PowerShell compatibility defaults.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueEnable documentation generation defaults.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueGenerated documentation path.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueReadme path used by generated documentation.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueDo not attempt to fix relative paths during merge.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueKeep classes dot-sourced.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueKeep library-loading code dot-sourced.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueEnable PSScriptAnalyzer as part of validation.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TruePer-pattern encoding overrides for file consistency checks.
Type: Hashtable
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueEnable file consistency defaults.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueDirectory names excluded from file consistency checks.
Type: String[]
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueImport RequiredModules before validation/test steps that need them.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueImport the module under build before validation/test steps that need it.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueInstall missing module dependencies on the build host.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueKill locking processes before install.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueForce killing locking processes before install.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueMerge referenced functions from approved modules.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueMerge module source files during build.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueMinimum percentage of cross-compatible files.
Type: Int32
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueLoad binary module dependencies through an AssemblyLoadContext on PowerShell Core.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueAssembly names whose public types may be exposed as PowerShell type accelerators.
Type: String[]
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueControls type accelerator exposure for binary-module dependencies.
Type: Nullable`1
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueFully-qualified type names to expose as PowerShell type accelerators.
Type: String[]
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True.NET build configuration.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: Release, Debug
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True.NET target frameworks to build.
Type: String[]
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueHandle assemblies with the same name during import.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueProject name for binary-module builds.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TruePath to the owned .NET project for binary-module builds.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueNamed profile to emit.
Type: ModuleBuildProfileKind
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: Standard, Binary
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueRequired encoding for file consistency checks.
Type: FileConsistencyEncoding
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: ASCII, UTF8, UTF8BOM, Unicode, BigEndianUnicode, UTF7, UTF32
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueRequired line endings for file consistency checks.
Type: FileConsistencyLineEnding
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: CRLF, LF
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueResolve binary dependency conflicts.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueProject name used when resolving binary dependency conflicts.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueWhen signing is enabled, include binary files.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueWhen signing is enabled, include executable files.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueWhen signing is enabled, include internal scripts.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueEnable signing for the built module.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueSkip built-in placeholder replacements during build.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueSync generated external help back to the project root.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueEnable module validation defaults.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueNumber of installed versions to keep.
Type: Int32
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueVersioned install strategy.
Type: InstallationStrategy
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: Exact, AutoRevision
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