Project

PSPublishModule

Build, test, version, sign, and publish PowerShell modules with reusable PowerForge pipelines.

Stars 48
Forks 16
PowerShell Gallery downloads 17,213
Release v3.0.169
Language: C# Updated: 2026-10-13

API Reference

Command

New-ConfigurationDotNetDebian

Namespace PSPublishModule
Inputs
None
Outputs
PowerForge.DotNetPublishDebianOptions

Creates Debian desktop-package metadata for the DotNet publish DSL.

Remarks

Creates Debian desktop-package metadata for the DotNet publish DSL.

Examples

Authored help example

Create Debian desktop-package metadata


New-ConfigurationDotNetDebian -PackageName 'sample-studio' -Version '1.0.0' -Maintainer 'Example <[email protected]>' -Description 'Sample document studio.' -Executable 'Sample.Studio' -CommandName 'sample-studio' -InstallDirectoryName 'sample-studio' -DesktopName 'Sample Studio' -DesktopCategories 'Office;Utility;' -IconPath 'Assets/Sample.Studio.png'
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

New-ConfigurationDotNetDebian [-Architecture <String>] -CommandName <String> [-Depends <String>] -Description <String> [-DesktopCategories <String>] [-DesktopComment <String>] [-DesktopName <String>] -Executable <String> [-IconPath <String>] [-IconSize <Int32>] -InstallDirectoryName <String> -Maintainer <String> [-MimeTypes <String>] -PackageName <String> [-Priority <String>] [-Section <String>] [-StartupWmClass <String>] -Version <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Architecture String optionalposition: namedpipeline: False
Optional architecture override; otherwise inferred from the runtime identifier.
CommandName String requiredposition: namedpipeline: False
Command installed under /usr/bin.
Depends String optionalposition: namedpipeline: False
Optional Debian dependency expression.
Description String requiredposition: namedpipeline: False
Short package description.
DesktopCategories String optionalposition: namedpipeline: False
Optional freedesktop category list.
DesktopComment String optionalposition: namedpipeline: False
Optional desktop application comment.
DesktopName String optionalposition: namedpipeline: False
Optional desktop application name. Setting it enables a desktop entry.
Executable String requiredposition: namedpipeline: False
Executable path relative to the published payload root.
IconPath String optionalposition: namedpipeline: False
Optional PNG icon path resolved from the project root.
IconSize Int32 optionalposition: namedpipeline: False
Icon size used in the hicolor theme path. Defaults to 256.
InstallDirectoryName String requiredposition: namedpipeline: False
Directory name installed under /opt.
Maintainer String requiredposition: namedpipeline: False
Package maintainer identity.
MimeTypes String optionalposition: namedpipeline: False
Optional MIME type list.
PackageName String requiredposition: namedpipeline: False
Lower-case Debian package name.
Priority String optionalposition: namedpipeline: False
Debian priority. Defaults to optional.
Section String optionalposition: namedpipeline: False
Debian section. Defaults to utils.
StartupWmClass String optionalposition: namedpipeline: False
Optional startup WM class.
Version String requiredposition: namedpipeline: False
Debian package version.

Outputs

PowerForge.DotNetPublishDebianOptions