Practical Windows PowerShell Scripting LiveLessons, 2nd Edition

Practical Windows PowerShell Scripting LiveLessons, 2nd Edition

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 70 Lessons (12h 25m) | 2.07 GB

Practical Windows PowerShell Scripting LiveLessons, Second Edition (Video Training), 2nd Edition

Fully updated! Decipher PowerShell code and automate administrative tasks with minimal effort.

PowerShell can help you automate a variety of tasks from Windows Server management to rich reporting, to building full blown, graphical applications. But learning PowerShell can be intimidating; its not intuitive and alias use can make code difficult to read.

In this video, Microsoft MVP Brien Posey helps you learn PowerShell with minimal effort. He writes code that is easy to follow and easy to read. He takes time to explain and demo each step and talks you through PowerShells quirks.

This fully updated edition of the bestselling Practical Windows PowerShell Scripting LiveLessons video includes the latest tools such as PowerShell 7 pipeline parallelization, Windows 11 Terminal, and Windows Server 2022. Start by building practical PowerShell scripts that help you manage day-to-day tasks, and then see how take advantage of more advanced features.

Learn How To

  • Decipher PowerShell Syntax
  • Work with PowerShell Cmdlets
  • Enhance your PowerShell scripts
  • Interact with Active Directory
  • Automate scripts
  • Create and format reports
  • Import data into charts
  • Establish remote sessions
  • Build your own GUI
  • Use advanced features such as pipeline chain operators and parallelization

Lesson 1 introduces PowerShell. Its intended primarily for those who are just getting started with PowerShell.

Lesson 2 focuses on PowerShell basics, including fundamental concepts such as variables, objects, attributes, and error messages.

Lesson 3 begins to talk about basic scripting, including how to build a PowerShell script, configuring the script execution policy, creating a function, silencing errors, operators, and authentication.

Lesson 4 shows you how to enhance scripts. Learn how to pass a variable to a function, create loops, and integrate with Microsoft .NET. You also learn about if-then-else statements and switch statements.

Lesson 5 covers interacting with Active Directory. Learn how to query the Active Directory, create and modify user accounts, and work with AD groups.

Lesson 6 delves into PowerShell as a management tool. Learn how to make a script run automatically, generate alerts and e-mail messages from a script, and management best practices.

Lesson 7 explains how to use PowerShell for reporting, including creating CSV, text, and HTML files.

Lesson 8 dives into graphical reporting with PowerShell. It also explains how to create simple charts, change the chart type, and import data into the chart.

Lesson 9 shows you how to establish a remote session, run cmdlet on a remote session, and collect data.

Lesson 10 demonstrates how to build your own GUI, including adding text boxes, creating buttons, and working with drop-down lists.

Lesson 11 concludes the video course by presenting advanced features of PowerShell, including ternary operators, pipeline chain operators, null condition operators, and pipeline parallelization.

Table of Contents

1 Introduction
2 Learning objectives
3 What is PowerShell
4 The Windows Command Line
5 Basic PowerShell Syntax
6 Getting Help
7 Predicting a Command’s Behavior
8 Dealing with a Term Not Recognized
9 Learning objectives
10 Commonly Used Cmdlets
11 Objects and Attributes
12 Working with Variables, Arrays, and Hash Tables
13 An Introduction to Modules
14 Making Sense of Error Messages
15 Custom Error Message
16 Learning objectives
17 Building a PowerShell Script
18 Configuring the Script Execution Policy
19 Creating a Function
20 Silencing Errors
21 Mathematical Operators
22 Comparison Operators
23 Assignment Operators
24 Logical Operators
25 Interactive Authentication
26 Automatic Authentication
27 Learning objectives
28 Passing a variable to a function
29 Global Variables and Local Variables
30 Creating Loops
31 Creating a Progress Bar
32 Switch Statements
33 Sorting PowerShell Output
34 Building Modules and Stand-Alone Functions
35 Learning objectives
36 Making a Script Run Automatically
37 Generating Alerts from a Script
38 Best Practices for PowerShell Scripting
39 Learning objectives
40 Querying the Active Directory
41 Creating User Accounts
42 Modifying User Accounts
43 Working with Active Directory Groups
44 Learning objectives
45 An Introduction to Remote Sessions
46 Establishing a Remote Session
47 Running a Cmdlet on a Remote System
48 Collecting Data From Remote System
49 Learning objectives
50 Basic Reporting
51 Creating a CSV File
52 Creating a Text File
53 Creating an HTML File
54 Adding Color and Formatting
55 Learning objectives
56 Creating a Simple Chart
57 Changing the Chart Type
58 Importing Data Into a Chart
59 Learning objectives
60 Creating a Basic GUI
61 Adding Text Boxes
62 Creating Buttons
63 Working with Drop Down Lists
64 Learning objectives
65 Installing PowerShell 7
66 Ternary Operators
67 Pipeline Chain Operators
68 Null Coalescing Operators
69 Pipeline Parallelization
70 Practical Windows PowerShell Scripting Summary