# New-ConfigurationDotNetDebian

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

Project

PSPublishModule

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

[View on GitHub](https://github.com/EvotecIT/PSPublishModule) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSPublishModule/releases/tag/v3.0.124) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSPublishModule/2.0.27)

Stars **48**

Forks **15**

Open issues **1**

PowerShell Gallery downloads **17,213**

Release **v3.0.195**

Language: C# Updated: 2026-11-25

Command 

**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>]
```

[#](#method-new-configurationdotnetdebian-string-string-string-string-string-string-string-string-string-int32-string-string-string-string-string-string-string-string)

Parameter set: `All Parameter Sets`

## Examples

### Create Debian desktop-package metadata

```powershell
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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:65DA87C209E55EB25E62BF66D534E7AA6CC5C8C92C844E6252621664913F0FBC -->
