Administration and Automation with Windows PowerShell

0%

0/1 Lessons

Course Introduction

• 5min

0 / 2 lessons complete

Getting Started with Windows PowerShell

• 42min

0 / 7 lessons complete

Getting Help and Finding Commands

• 39min

0 / 6 lessons complete

PowerShell Command Syntax

• 33min

0 / 5 lessons complete

PowerShell Objects and Properties

• 35min

0 / 6 lessons complete

The PowerShell Pipeline

• 24min

0 / 2 lessons complete

PowerShell Providers

• 30min

0 / 5 lessons complete

PowerShell Arrays and Variables

• 28min

0 / 4 lessons complete

PowerShell Loops

• 19min

0 / 3 lessons complete

PowerShell Conditional Statements

• 11min

0 / 1 lessons complete

On Premises Lab Setup

• 36min

0 / 8 lessons complete

Basic Domain Administration with Windows PowerShell

• 2hr 27min

0 / 10 lessons complete

Send Emails with PowerShell

• 22min

0 / 2 lessons complete

PowerShell Desired State Configuration (DSC) Basics

• 1hr 48min

0 / 6 lessons complete

Course Conclusion

• 1min

0 / 1 lessons complete

You need to sign up to get access!

Sign up to get full access to this course.

Sign up to access this lesson

Click here to sign up and get access to this lesson!

Saving Progress...

Text Based Console Part 2 – An Overview

Let go ahead and fire up PowerShell, right click, click properties. 

In the last lecture I demonstrated Command History and Quick edit mode. As you can see by default all these options have been checked, I won’t go over each option. If you want to know more checkout the documentation, I have descriptions for each option.

Font

  • Font size – As you can see whenever I make changes in the Font size these changes are reflected in the preview windows.

So why is it important to choose the right Font size? PowerShell could display your information to the right or to the bottom of your desktop. If you choose the wrong font size PowerShell could display your information past the desktop and you may not see that information. 

I chose a font size of 16, and I like Lucida Console font and I also choose bold fonts, which is better for presentation purposes. You can choose whatever font you like, it’s your choice.

Layout – Allows you to choose the screen buffer size, windows size and window position.

  • Screen Buffer Size (changes memory allocated to desktop)

Width (should match Width on the Windows size

Height – Set to about 3000. Which is compatible with most monitors. 

Colors -   Here you can choose your text and background colors (We chose the default values)

  • The easiest way to configure color is to first choose a category. Here you can see that we have selected “Screen Background”. You can select your color Values 

Or you can come down here to the color bar, then choose whatever you like. You can see that this will be reflected in the preview windows. 

Demonstrate Tab completion 

  • Type get-Pro, then press the Tab key. As you can see, TAB completion completed the command. 
  • Type get-Even, then press the TAB key.

PowerShell cycles through commands.                

Pressing the Tab moves through the commands forward and shift-tab cycles the commands backwards.

  • Let’s try another command. 

Type get-ser, press the Tab key

TAB completion fills in the word service. 

Press Return – What is displayed is all the services that are running on this Windows 10 machine.

Now let’s highlight the service BITS (Background Intelligent Transfer Service) 

Press Return, then click the up arrow. Click the space bar then click hyphen then press the TAB key, -name (name is a parameter) Now we want the name of the service which is BITS. Press the spacebar then type BI, then press the TAB key, press return.

As you can see the status of this service is stopped.

  • How would you think we would start this service?

Type start-service, (space), type hyphen, then press the TAB key 

-name (space) type BI, press the TAB key, now press return

Now type get-service (space) type hyphen press TAB key, press space bar, type BI, press the TAB key. Press enter. As you can see the status says that the BITS service is running. 

That was just a quick demo of TAB completion and the Text based console.

Sign up to access the rest of this lesson

You must either log in or sign up to access this lesson.

Saving Progress...

0 0 votes
Lesson Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments