StudyToCert

All certifications / AZ-802 / Lessons

Microsoft Certified: Windows Server Administrator Associate (exam AZ-802: Administering Windows Server) AZ-802 · Domain 2: Manage Windows Server instances and workloads in a hybrid environment

PowerShell remoting: Enter-PSSession vs Invoke-Command, Just Enough Administration (JEA) role capability and session configuration files

▶ Watch the overview video

Last reviewed September 25, 2026 · Leer en español

PowerShell remoting lets you run commands on other computers over Windows Remote Management (WinRM), which listens on TCP 5985 for HTTP and 5986 for HTTPS. On Windows Server it is enabled by default; on clients you run Enable-PSRemoting. In a domain, Kerberos authenticates the connection and the WinRM traffic is encrypted even over HTTP. Outside a domain you typically use HTTPS or add hosts to the TrustedHosts list.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 6 more sections, 5 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study AZ-802 for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the AZ-802 study plan