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...

Getting Help and Finding Commands Part 3

  • Let's find some more commands. This time we'll get help using wildcards

A is a symbol in this case an asterisk used to represent one or more characters. We can use a wild card for the broadest searches possible.

  • Go ahead and type help, space, asterisk type service asterisk now press return. And there's all the commands with service as a noun. 

What we’re gonna do is copy and paste a couple of these commands. Let's go ahead and choose one of these. We're going to get-help on stop-service. Ok, so ctrl-c, now type get-help press return space. Now control-v, ok space and if you want examples just type ex and press return and return again. And there's our command. Get-help stop-service -examples. And there’s are the examples so we can learn how to use this command. Ok, cls, go on to another one. 

  • And this time we'll type get-help ok, and space, asterisk, and type process, asterisk, now press return and there's all our commands with process in it. 
  • And the let's go ahead and pick a command this time we'll pick start-process. Okay. Ctrl-C and type get-help.
  • Now we're going to get-help on get-process, space, ctrl-v. Now we are examples because we want to learn how to use this command, type ex. Okay, press return, and there's our command with all our examples. Okay, wonderful. Cls to clear screen.
  • Okay now, this time we're going to type get-help, ok and type space, asterisk log, asterisk. Now press return. Now let’s take a look at all the log files on the computer. Okay, and this time we're going to highlight Clear-eventlog okay that's what I want. Clear-event log, okay ctrl-c, let's go ahead and get some help on clear-eventlog. Right, We're going to type get-help again, space ctrl-v. And let's get our examples again. Get some help on clear-eventlog. Okay. There's our command get-help clear-eventlog with examples. And here are the examples, so that we can learn how to run this command.
  • Okay, a couple more here. Clear screen cls. This time just type help, space get-a and asterisk, now hit return. 
  • Let's try one more. This time type get-command, okay, press return, and we'll choose -name, okay and then press a, then asterisk, then go ahead and return. 
  • PowerShell cycles through all the commands that begin with begin with an a, ok. Look at all those commands.

Thanks for watching and we’ll see you in the next lecture.

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