Section courante

A propos

Section administrative du site

Remove-PSSession

Enlève la session PowerShell
PowerShell

Syntaxe

Remove-PSSession [-Id] Int32[] [-WhatIf] [-Confirm] [CommonParameters]
Remove-PSSession [-Session] PSSession[] [-WhatIf] [-Confirm] [CommonParameters]
Remove-PSSession -ContainerId String[] [-WhatIf] [-Confirm] [CommonParameters]
Remove-PSSession -VMId Guid[] [-WhatIf] [-Confirm] [CommonParameters]
Remove-PSSession -VMName String[] [-WhatIf] [-Confirm] [CommonParameters]
Remove-PSSession -InstanceId Guid[] [-WhatIf] [-Confirm] [CommonParameters]
Remove-PSSession -Name String[] [-WhatIf] [-Confirm] [CommonParameters]
Remove-PSSession [-ComputerName] String[] [-WhatIf] [-Confirm] [CommonParameters]

Description

Cette commande permet de fermer une ou plusieurs sessions PowerShell (PSSessions).



Dernière mise à jour : Jeudi, le 14 Janvier 2021