PowerShell: Scripting for Server Administration

PowerShell: Scripting for Server Administration

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 54m | 226 MB

Speed up Windows Server administration with PowerShell. This course covers the basics of PowerShell scripting, an important skill for any IT professional working with Windows Server. Instructor Scott Burrell shows how to create new scripts in the editor of your choice, demonstrating options such as Visual Studio Code. He shows how to read and write data from a variety of file types, load prebuilt script modules, program functions, and perform basic administrative tasks using PowerShell and Windows Management Instrumentation (WMI), such as extracting information about remote machines. Using the skills you learn in this training course, you will be able to harness PowerShell to script routine server administration tasks, such as software updates and user management.

Topics include:

  • Creating a PowerShell script
  • Creating scripts in IDE or Visual Studio Code
  • Working with files
  • Loading modules
  • Using functions
  • Managing servers with WMI
  • Adding users to a domain
Table of Contents

Introduction
1 Create PowerShell scripts
2 What you should know

Create a PowerShell Script
3 About execution policies
4 Manage execution policies
5 Anatomy of a PowerShell script
6 Create scripts in ISE
7 Create scripts in Visual Studio Code

Work with External Files
8 Write to text files
9 Read from text files
10 Work with CSV tables
11 Work with XML and CliXml files

Building Blocks of PowerShell Scripts
12 Install and load modules
13 Build functions
14 Variables in functions and scripts
15 Use functions in scripts

Administer Servers
16 WMI basics
17 Use WMI objects
18 CIM enhancements
19 Import-HotelUsers – Challenge
20 Import-HotelUsers – Solution

Conclusion
21 Next steps