# Enter-PSSession

*noun*

say it: **“EN-tur pee-ess SESH-un”** **/ˈɛntɚ ˌpiˈɛs ˈsɛʃən/**

A PowerShell command that moves your prompt onto another computer, so the commands you type run there until you exit.

## What does **Enter-PSSession** do?

`Enter-PSSession` is sitting down at another computer's desk without walking over: your prompt starts with that computer's name, and every command runs there. `Exit-PSSession` brings you back. It's for working by hand on one computer; `Invoke-Command` suits one job on many.

```powershell
Enter-PSSession -ComputerName front-desk
# [front-desk]: PS C:\Users\Sam\Documents>
Exit-PSSession
```

## In a sentence

- “After **Enter-PSSession**, the prompt started with front-desk in brackets.”
- “Sam used **Enter-PSSession** to look around the back-office PC for a while, then Exit-PSSession.”

Level: Freelancer · [More PowerShell terms at this level](https://www.ask-codey.com/glossary?category=powershell&level=4)

Updated: November 10, 2026

Source: https://www.ask-codey.com/glossary/enter-pssession
