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.186
Language: C# Updated: 2026-11-04
Command

New-ConfigurationDotNetDebian

Module
PSPublishModule
Inputs
None
Outputs
PowerForge.DotNetPublishDebianOptions

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

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

Examples

Create Debian desktop-package metadata

New-ConfigurationDotNetDebian -PackageName 'sample-studio' -Version '1.0.0' -Maintainer 'Example <support@example.com>' -Description 'Sample document studio.' -Executable 'Sample.Studio' -CommandName 'sample-studio' -InstallDirectoryName 'sample-studio' -DesktopName 'Sample Studio' -DesktopCategories 'Office;Utility;' -IconPath 'Assets/Sample.Studio.png'

Parameters

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

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.