For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-PSUDeployment

Creates a new deployment.

SYNOPSIS

Creates a new deployment.

SYNTAX

New-PSUDeployment -Name <String> -Version <String> [-Description <String>] [-Path <String>]
 [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>] [-UseDefaultCredentials]
 [-Integrated] [-TrustCertificate] [-Cookies] [<CommonParameters>]

DESCRIPTION

Creates a new deployment. This takes the current repository configuration and creates a new deployment with the specified name and version.

EXAMPLES

Example 1

PS C:\> New-PSUDeployment -Name 'Production' -Version '1.0.0'

Creates a new deployment with the name 'Production' and version '1.0.0'.

PARAMETERS

-AppToken

An application token to use for authentication.

-ComputerName

The URL of the server to connect to.

-Credential

The credentials to use to connect to the server.

-Description

A description of the deployment.

-Integrated

For use when running within PowerShell Universal.

-Name

The name of the deployment.

-Path

Outputs the deployment as a module to the local file system.

-TrustCertificate

Trust the certificate on the server.

-UseDefaultCredentials

Use the default credentials for the current user.

-Version

The version of the deployment.

-Cookies

Reuses and persists authentication cookies for the current PowerShell session.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

Last updated

Was this helpful?