PowerShell Exit-PSSession Cmdlet

PowerShell Exit-PSSession Cmdlet

PowerShell Exit-PSSession Cmdlet

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

In the last blog post, we have discussed Enter-PSSession cmdlet in PowerShell.

https://cloudaffaire.com/powershell-enter-pssession-cmdlet/

In this blog post, we will discuss Exit-PSSession cmdlet in PowerShell. You can use Exit-PSSession cmdlet to exit an interactive session with a local or remote computer. You can also use the exit command to exit an interactive PSSession.

Exit-PSSession Cmdlet Syntax:

Exit-PSSession Cmdlet Argument List:

NA

PowerShell Exit-PSSession Cmdlet:

Hope you have enjoyed this article. In the next blog post, we will discuss Disconnect-PSSession CmdLet in PowerShell.

To get more details on PowerShell, kindly follow below official documentation

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about?view=powershell-5.1

 

Leave a Reply

Close Menu