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
andBRADC2
.- Demonstrate PowerShell Remoting
- Connect to
BRAWKS1
using thestandard_user
account - Demonstrate PowerShell remoting, including:
- Use interactive remoting to connect to
BRADC1
and install thePSWindowsUpdate
module from the PowerShell Gallery - Use non-persistent remoting to connect to
BRADC1
and verify thePSWindowsUpdate
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
168.63.129.16
on bothBRADC1
andBRADC2
using one PowerShell remoting command
- Use interactive remoting to connect to
- Connect to
- Connect to the Virtual Machines
- Use Remote Desktop to connect to
BRAWKS1
using the public IP address and the username and password from the lab details. - Use Remote Desktop to connect to
BRADC1
andBRADC2
using the public IP addresses and the username and the password from the lab details.
PLEASE NOTE
The username used to connect to
BRAWKS1
is different from the username used to connect toBRADC1
andBRADC2
.- Use Remote Desktop to connect to