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

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

Installing PowerShell

  1. Already installed on Windows 7 and server 2008 and every release after that.

Finding PowerShell

For Windows 10 click the lower left corner called the search box and type Windows PowerShell.

Go ahead and right click Windows Powershell and RUN AS Administrator

Now let’s check our version of powershell that we are currently running.

  1. To Check your version number type $PSVersionTable, then hit return.

Here we see were running PowerShell Version 5.1

The version of PowerShell and the version of WMF is the same thing.

By default PowerShell comes with a minimal help system so it must be updated. So let’s go ahead and update the help system on this windows 10 VM

If you want to follow along, Be sure to open the console version of PowerShell as an Administrator. 

Commands for updating the Help System:

You could use Update-help -force (Will download the latest help from the internet every time you run it) Or you could just run update-help. If you get an error, try running update-help –verbose ,press return.

Error – Failed to update help for the module WindowsUpdateProvider. You can ignore this error.

Now let’s open the ISE in Administrator mode

Are you ready for your first Practical PowerShell Tip?

Q: Let’s say you have a Windows 10 machine that is Not connected to the internet. How can you update the help files? This is a common scenario on secure networks

A: You can use Save-Help, that will save a copy of the help files from the internet.

Then you run update-help on the computer with no internet connectivity, pointing the command to the downloaded copy of the help file .

Let’s check it out:

Type explorer

Now what we want to do is create a help folder on the C: drive of your VM.

Close Explorer

Then type this command: Don’t worry about the syntax – I’ll explain all of this later.

Now go ahead and type Save-help -DestinationPath “C:\help” -Force -verbose (forces the update. We are pulling all the help files and saving them to the help folder.

After the command executes, from the console type explorer

Open C:\help and checkout all the help files

Now, you will need to get those help files to the computer without an internet connection. Just create a help folder on your USB drive and copy all these files to the drive. Now copy the help folder to the C:\ root of the computer that doesn’t have an internet connection and run this command.

Type: Update-Help -Sourcepath “c:\help” -Force -Verbose (Note: You can run this with or without the parenthesis)

Error Failed to update help for the UI (user Interface) or the English Language) That means that there is not currently a help file for windowsupdateprovider.

Now were going to be copying these help files into the help system.

Just wanted to demonstrate how to get the help files onto a computer that doesn’t have internet connectivity.

  1. Next let’s take a closer look at the console version of PowerShell.
0 0 votes
Lesson Rating
Subscribe
Notify of
profile avatar
0 Comments
Inline Feedbacks
View all comments