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

Stop-PSUTerminalInstance

SYNOPSIS

Arrête une instance de terminal en cours d'exécution.

SYNTAXE

Stop-PSUTerminalInstance -TerminalInstance <TerminalInstance> [-ComputerName <String>] [-AppToken <String>]
 [-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

DESCRIPTION

Arrête une instance de terminal en cours d'exécution. Vous pouvez récupérer les instances de terminal à l'aide de Get-PSUTerminalInstance.

EXEMPLES

Exemple 1

PS C:\> $Terminal = Get-PSUTerminal | Where-Object Name -eq 'Terminal1'
PS C:\> Start-PSUTerminalInstance -Terminal $Terminal 
PS C:\> Get-PSUTerminalInstance | Stop-PSUTerminalInstance

Démarre une nouvelle instance de terminal, puis l'arrête.

PARAMÈTRES

-AppToken

Un jeton d'appli pour l'authentification auprès du serveur PowerShell Universal.

-ComputerName

Le nom ou l'URL du serveur PowerShell Universal.

-Integrated

Non pris en charge

-TerminalInstance

L'instance de terminal à arrêter. Utilisez Get-PSUTerminalInstance pour retourner les instances en cours d'exécution.

-UseDefaultCredentials

Utiliser l'authentification Windows.

-Credential

Identifiants pour se connecter à l'API de gestion de PowerShell Universal.

-TrustCertificate

Indique si l'applet de commande doit ignorer les problèmes de certificat.

-Cookies

Réutilise et conserve les témoins d'authentification pour la session PowerShell en cours.

CommonParameters

Cette applet de commande prend en charge les paramètres communs : -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable et -ProgressAction. Pour plus d'informations, voir about_CommonParameters.

ENTRÉES

PowerShellUniversal.TerminalInstance

SORTIES

System.Object

REMARQUES

LIENS CONNEXES

Mis à jour

Ce contenu vous a-t-il été utile ?