Configure PowerShell Remoting

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

This hands-on lab walks through the process of configuring and using PowerShell remoting, including interactive, persistent, non-presistent, and one-to-many remoting.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Verify Remote Management Is Enabled

Verify remote management is enabled, and confirm Windows Defender Firewall is configured to allow remote management on BRADC1 and BRADC2.

Demonstrate PowerShell Remoting
  1. Connect to BRAWKS1 using the standard_user account
  2. Demonstrate PowerShell remoting, including:
    • Use interactive remoting to connect to BRADC1 and install the PSWindowsUpdate module from the PowerShell Gallery
    • Use non-persistent remoting to connect to BRADC1 and verify the PSWindowsUpdate module is installed
    • Create a persistent remoting session on BRADC1, and use the peristent session to save a new variable and retrieve the variable in two separate commands
    • Use one-to-many remoting to configure DNS forwarders to on both BRADC1 and BRADC2 using one PowerShell remoting command
Connect to the Virtual Machines
  1. Use Remote Desktop to connect to BRAWKS1 using the public IP address and the username and password from the lab details.
  2. Use Remote Desktop to connect to BRADC1 and BRADC2 using the public IP addresses and the username and the password from the lab details.


The username used to connect to BRAWKS1 is different from the username used to connect to BRADC1 and BRADC2.

Additional Resources


You are a domain administrator at Barrier Reef Audio, a company that focuses on generating text from speech using a range of high quality audio equipment and machine learning.

You use an administrative workstation to perform your daily administrative tasks. You would like to move away from using Windows Server with a Desktop Experience to Windows Server with the Core installation option, to improve the security and management overhead of the domain controllers. You need to demonstrate how other administrators can use PowerShell remoting to manage the domain controllers instead of using Remote Desktop.

In this lab, you will:

  1. Verify remote management is enabled
  2. Demonstrate PowerShell remoting, including:
    • Interactive remoting
    • Non-persistent remoting
    • Persistent remoting
    • One-to-many remoting

Lab Setup

In this lab, you will be connecting to VMs using Remote Desktop. You won’t need to access the Azure portal.

Note: To complete this lab, you will need to use a Remote Desktop client.

If you get stuck, feel free to check out the lab objectives, the lab guide, or the solution video. Good luck!

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?