Get-PSUTerminalInstance
SYNOPSIS
Returns running terminal instances.
SYNTAX
All (Default)
Get-PSUTerminalInstance [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
[-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]Id
Get-PSUTerminalInstance [-Id] <Int64> [-ComputerName <String>] [-AppToken <String>]
[-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]DESCRIPTION
Returns running terminal instances. Terminal instances can be started from the admin console or by using Start-PSUTerminalInstance.
EXAMPLES
Example 1
Starts a new instance of Terminal1 and then returns all running terminal instances.
PARAMETERS
-AppToken
An App Token for authenticating against the PowerShell Universal server.
-ComputerName
The name or URL of the PowerShell Universal server.
-Id
The ID of the terminal instance to return.
-Integrated
Not Supported
-UseDefaultCredentials
The terminal configuration to start. Use Get-PSUTerminal to return terminal configurations.
-Credential
Credentials to login to the PowerShell Universal Management API.
-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
RELATED LINKS
PERMISSIONS
The access token requires automation.terminals/read to run this cmdlet remotely.
Last updated
Was this helpful?