Pcornel
Browse topics
Options
Recent
Favorites
Command · Windows / Windows Server / PowerShell

Enter-PSSession -ComputerName <computer>

Enter-PSSession -ComputerName <computer>

Opens an interactive PowerShell session on a remote computer.

Execution context

Administrator (elevated prompt)

Use when

You need to work interactively on a server without RDP.

Privilege Administrator (elevated prompt)State impact Low impactProduction Unknown

Operational impact: Changes local state in a small, reversible way; see the notes.
Command detailsSafety model · family · platform · verification · bundle
PrivilegeAdministrator (elevated prompt)
Execution contextAdministrator (elevated prompt)
State impactLow impact
Safe during productionUnknown
CategoryPowerShell
Evidence levelmixed
Primary DomainWindows
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
Family Ower Hell
PlatformWindows / Windows Server / PowerShell
PrerequisiteAdministrator (elevated prompt)
Output fields

Field glossary

Important fields projected from persisted Command guidance.

prompt changes to [<computer>]

PS C:\>, or a connection error

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsWindows

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Shows that a remote session can be opened.

Does not prove

Does not prove access to other network resources from inside the session (second hop).

Next check

Test with Test-WSMan <computer> and check the WinRM service.

Depth when you need it

Command guidance

Execution context

Administrator (elevated prompt)

Use when

You need to work interactively on a server without RDP.

Important fields

prompt changes to [<computer>]: PS C:\>, or a connection error

Common problems

WinRM not configured; TrustedHosts needed in a workgroup; second-hop access fails

Operational impact

Changes local state in a small, reversible way; see the notes.

Technical context

Exit with Exit-PSSession. Commands you run in the session can change the remote system.

Confirmation

Confirm action

Continue?