Welcome to the Configure Remote Server Management in Windows PowerShell Practice Lab. In this module you will be provided with the instructions and devices needed to develop your hands-on skills.

Learning Outcomes

In this module, you will complete the following exercises:

  • Administer Windows Server with PowerShell Remoting
  • Basic Scripting with Windows PowerShell ISE

After completing this lab, you will be able to:

  • Perform remote administration of another Windows computer using PowerShell
  • Create a basic script in Windows PowerShell ISE

Exam Objectives

The following exam objectives are covered in this lab:

  • Configure and use management tools - Configure the Windows PowerShell console and Windows PowerShell ISE

Lab Duration

It will take approximately 45 minutes to complete this lab.

Exercise 1 - Administer Windows Server with PowerShell Remoting

Windows PowerShell has the ability to remotely manage a Windows computer by enabling a feature called PowerShell Remoting. This feature can be useful when using a GUI-based tool is not viable due to low network bandwidth situation between two locations.

A service called Windows Remote Management (WinRM) makes a Windows device capable of being managed remotely. You need to set the appropriate firewall rules on both sides of the network or hosts to make PowerShell remoting possible. When connected via PowerShell remoting, you can run cmdlets and scripts like you are running those commands interactively on the local computer. However, the Windows Firewall exception for the WinRM listener will fail if any of the network cards are configured to have a public type. The firewall will refuse to create exceptions on public network cards. Hence, you must change the network card type to either private or domain. Alternatively, you can disable the public network connections for establishing PowerShell Remoting.

In this exercise, you will configure and enable Windows PowerShell remoting between PLABWIN11 and PLABDC01.

Exercise 2 - Basic Scripting with Windows PowerShell ISE

Windows PowerShell Integrated Scripting Environment (ISE) is an application in Windows PowerShell for running commands, author, test and debug scripts in the graphical user interface. The application provides multi-line editing, auto-complete feature by using tab, syntax coloring, execute code by selection and context-sensitive help system.

In this exercise, you will learn how to create a simple PowerShell script using PowerShell ISE.

Comprehensive Learning

See the full benefits of our immersive learning experience with interactive courses and guided career paths.