Manage persistent connections to remote computers by using Windows PowerShell sessions

Intermediate
Administrator
Azure
Microsoft Entra ID
Azure Cloud Shell
Azure PowerShell
Azure Virtual Machines
Microsoft 365

This module explains how to establish and manage persistent connections to remote computers, known as Windows PowerShell sessions or PSSessions.

Learning objectives

Upon completion of this module, the learner is able to:

  • Explain the purpose of persistent connections.

  • Create and use a PSSession.

  • Transmit commands by using a PSSession.

  • Explain how to disconnect from PSSessions.

  • Disconnect and reconnect to PSSessions.

  • Explain the concept of implicit remoting.

Prerequisites

  • Familiarity with Windows networking technologies and implementation

  • Familiarity with Windows Server administration, maintenance, and troubleshooting

  • Familiarity with Windows PowerShell and its commands to perform specific tasks

  • Familiarity with PowerShell cmdlets used for system administration tasks related to Active Directory, network configuration, server administration, and Windows 10 device administration

  • Familiarity with Windows PowerShell pipeline, PowerShell providers and PowerShell drives

  • Familiarity with CIM and WMI technologies

  • Familiarity to use variables, arrays, hash tables, and scripting constructs in Windows PowerShell