0%

0/1 Lessons

Course Introduction

• 5min

0 / 2 lessons complete

Getting Started with Windows PowerShell

• 56min

0 / 8 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

PowerShell Modules

• 58min

0 / 7 lessons complete

Powershell Challenges

• 1hr 55min

0 / 23 lessons complete

Section Overview
Full Access Account Required

Video | 5 min

The Trusted Hosts List Challenge
Full Access Account Required

Text | 5 min

The Trusted Hosts List Answer
Full Access Account Required

Video | 5 min

Starting a Remote Session Challenge
Full Access Account Required

Text | 5 min

Starting a Remote Session Answer
Full Access Account Required

Video | 5 min

Rename a Computer Challenge
Full Access Account Required

Text | 5 min

Rename a Computer Answer
Full Access Account Required

Video | 5 min

Change a Password on a Remote Computer Challenge
Full Access Account Required

Text | 5 min

Change a Password on a Remote Computer Answer
Full Access Account Required

Video | 5 min

How to Copy Files To-From a Remote Machine Challenge
Full Access Account Required

Text | 5 min

How to Copy Files To-From a Remote Machine using VSC Answer
Full Access Account Required

Video | 5 min

How to Export Logs to a CSV File Challenge
Full Access Account Required

Text | 5 min

How to Export Logs to a CSV File Answer
Full Access Account Required

Video | 5 min

How to Create Multiple Folders on the Host Machine using Powershell
Full Access Account Required

Text | 5 min

How to Create Multiple Folders on the Host Machine using Powershell Answer
Full Access Account Required

Video | 5 min

Who Rebooted the Server ID1074 Challenge
Full Access Account Required

Text | 5 min

Who Rebooted the Server
Full Access Account Required

Video | 5 min

How can you get Info on all your Hard Drives Challenge
Full Access Account Required

Text | 5 min

How can you get Info on all your Hard Drives Answer
Full Access Account Required

Video | 5 min

How can I get a list of CPU's and Installed Printers, Last Boot-up Time Challenge
Full Access Account Required

Text | 5 min

How can I get a List of CPU's and Installed Printers, Last Boot-up Time Answer
Full Access Account Required

Video | 5 min

How can I Automate Tasks with Task Scheduler Challenge
Full Access Account Required

Text | 5 min

How can I Automate Tasks with the Task Scheduler Answer
Full Access Account Required

Video | 5 min

Course Conclusion

• 1min

0 / 1 lessons complete

Instructions

Q&A (0)

Notes (0)

Resources (0)

Saving Progress...

Resources

There are no resources for this lesson.

Notes can be saved and accessed anywhere in the course. They also double as bookmarks so you can quickly review important lesson material.

Create note

  1. What is PowerShell? Look at the word POWER-SHELL. You may ask what is a shell?

A shell is a user interface that gives you access to the operating system.

  1. What can I use PowerShell for? PowerShell allows you to write scripts and use commands to automate repetitive tasks. For example:

You could check the security logs on one or a number of server’s, save that log file to a server as an HTML file and the Admins that work for you could check the log file every morning anywhere in the world to verify that your servers are not being attacked by hackers.

You can work with Active Directory, registry, WMI, backup your server, run tasks in the background while you perform other tasks.

3.   PowerShell is built into many products. Microsoft IT products, VMware, Citrix.

4.   Do you have a Linux, Unix or strictly Windows client background? You may ask, what commands from those O/S will PowerShell recognize?

PowerShell recognizes many windows native commands. Let’s check it out.

Open the ISE version of Powershell in Administrator mode

Type Explorer – Yep that works

Type Ipconfig /all

CHKDSK

CLS

Dir

MKDIR C:\ps2

Cmdlets are PowerShell specific commands. So how do we get a list of CMDlets?

Type get-command

Here we see a list of aliases -we’ll get to those later

And Functions – Functions are written in PowerShell’s own scripting language. You can create your own Functions in PowerShell.

CMDlets are native PowerShell commands that are written in a .net language

BTW you can get-help on any of these aliases, functions or cmdlets.

Let’s grab a command and get some help

And there’s your help for the Get-variable cmdlet

What about UNIX or Linux commands

            Type LS – Displays the contents of a specified location.

            PWD – Returns the current working directory name. 

            MAN - Gives help on the get-service command.

            CAT -path c:\sec.txt 

and there is our security log that we saved from a previous lecture

Q: Is there a command that I can type to give me a list of aliases which is another name for a command that points to the real command that PowerShell recognizes? 

A: get-alias

Checkout the list of aliases, I am sure you will see some that you recognize. Take a little time to experiment with familiar commands.

Q: Why would Microsoft developers include commands from these other operating systems.

A: So, people from the Unix/Linux world would be able to sit down open up PowerShell and find commands that they are familiar with. Granted there are differences between the various tools, but I think this encourages others to dig in and hopefully discover the power of PowerShell. 

  1. In this course we will concentrate mainly on using PowerShell with Windows 10 and Windows server 2016.
  2. You may say, well Robert you really haven’t convinced me yet - why would I want to go to the trouble to learn PowerShell?

Let me ask you this:

If you were the hiring manager in charge of hiring all your system admins, who would you rather have on your team. A person that manually performs his everyday tasks using the basic tools. Or an Admin that takes seconds to perform the same tasks in an automated fashion. The answer is obvious. So welcome to PowerShell this is the future for administrators.

5 1 vote
Lesson Rating
Subscribe
Notify of
profile avatar
0 Comments
Inline Feedbacks
View all comments