Sunteți pe pagina 1din 2

01-10 Getting Started with Windows PowerShell

Lab A: Configuring Windows PowerShell


Scenario
You are an administrator who will begin to use Windows PowerShell to automate many administrative
tasks. You must make sure that you can successfully start the correct Windows PowerShell host
applications, and you want to configure those applications for future use by customizing their
appearance.

Objectives
After completing this lab, students will be able to:

· Open and configure the Windows PowerShell console application

· Open and configure the Windows PowerShell ISE application

Lab Setup
Estimated Time: 15 minutes

Virtual Machines: 10961B-LON-DC1, 10961B-LON-CL1

User Name: ADATUM\Administrator

Password: Pa$$w0rd

Be aware that the changes that you make during this lab will be lost if you revert your virtual machines at
another time during class.

For this lab, you will use the available virtual machine environment. Before you begin the lab, you must
complete the following steps:

1. On the host computer, move the pointer over the bottom left corner of the taskbar, click Start, and
then click Hyper-V Manager on the Start screen.

2. In Hyper-V® Manager, click 10961B-LON-DC1, and in the Actions pane, click Start.

3. In the Actions pane, click Connect. Wait until the virtual machine starts.

4. Sign in by using the following credentials:

a. User name: Administrator

b. Password: Pa$$w0rd

c. Domain: ADATUM

5. Repeat steps 2 through 4 for 10961B-LON-CL1.

6. The lab steps should be performed on the 10961B-LON-CL1 virtual machine.

Exercise 1: Configure the Windows PowerShell Console Application


Scenario
In this exercise, you will open the Windows PowerShell console application and configure its appearance
and layout.

The main tasks for this exercise are as follows:

1. Start the 64-bit console application as Administrator and pin Windows PowerShell icon to the taskbar

2. Configure the Windows PowerShell console application


10961B: Automating Administration with Windows PowerShell 01-11

3. Start a shell transcript

u Task 1: Start the 64-bit console application as Administrator and pin Windows PowerShell icon to the
taskbar
1. On the 10961B-LON-CL1 virtual machine, log on as Adatum\Administrator.

2. Start the 64-bit console application as Administrator.

3. Pin the Windows PowerShell icon to the taskbar.

u Task 2: Configure the Windows PowerShell console application


1. Configure the shell to use the Consolas font.

2. Select alternate display colors for primary text.

3. Size the window to fit on the screen and to remove any horizontal scroll bar.

u Task 3: Start a shell transcript


· Start a transcript named C:\DayOne.txt by running;

Start-Transcript C:\DayOne.txt

Results: After completing this lab, you will have opened and configured the Windows PowerShell console
application and configured its appearance and layout.

Exercise 2: Configure the Windows PowerShell ISE Application


Scenario
In this exercise, you will customize the appearance of the Windows PowerShell ISE application.

The main tasks for this exercise are as follows:

1. Open the 64-bit Windows PowerShell ISE application as Administrator

2. Customize the appearance of the ISE to use the single-pane view, hide the Command Pane, and adjust
the font size

u Task 1: Open the 64-bit Windows PowerShell ISE application as Administrator


1. Ensure you are still logged onto the 10961B-LON-CL1 virtual machine as Adatum\Administrator.

2. Open the 64-bit Windows PowerShell ISE application as Administrator.

u Task 2: Customize the appearance of the ISE to use the single-pane view, hide the
Command Pane, and adjust the font size
1. Configure the ISE to use single-pane view and display the console pane.

2. Hide the Command Pane.

3. Adjust the font size so that you can read it comfortably.

Results: After completing this lab, you will have customized the appearance of the Windows PowerShell
ISE application.

S-ar putea să vă placă și