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

New-PSUTerminal

Creates a new terminal.

SYNOPSIS

Creates a new terminal.

SYNTAX

New-PSUTerminal -Name <String> [-Description <String>] [-Environment <String>] [-Credential <Variable>]
 [-Role <String[]>] [-IdleTimeout <Int32>] [-KeepHistory] [-ComputerName <String>] [-AppToken <String>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

DESCRIPTION

Creates a new terminal. Terminals allow for execution of commands within PowerShell processes in the PSU admin console.

EXAMPLES

Example 1

PS C:\> New-PSUTerminal -Name 'Terminal1'

Creates a new terminal for the integrated environment.

PARAMETERS

-AppToken

An app token used for authenticating with the PSU management API.

-ComputerName

The computer name or URL of the PSU management API.

-Credential

A credential variable to run the terminal as.

-Description

A description of the terminal.

-Environment

The environment to run the terminal within.

-IdleTimeout

The number of minutes the terminal can remain idle before it is terminated.

-Integrated

Executes the command internally rather than using the Management API. Only works when running script from within PowerShell Universal.

-Name

The name of the terminal.

-Role

Not supported.

-UseDefaultCredentials

Whether to use the default credentials when connecting to the PSU management API.

-KeepHistory

Whether to keep the history of all commands and output for terminals.

-TrustCertificate

Whether the cmdlet should ignore certificate issues.

-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?