O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PowerShell Core Recipes

Video Description

Solve common problems in your IT environment using PowerShell Core in a matter of minutes rather than hours

About This Video

  • Conquer the 2 most common operating systems using PowerShell Core
  • Cross-platform scripting for all common administrative tasks such as managing file systems and remote systems, and collecting information from the web
  • A comprehensive course that sticks to an informal approach and treats you like a colleague

In Detail

GUIs are nice but not after the 50th mouse click!

In this course on PowerShell Core, you'll learn how to leverage Microsoft's scripting language to automate many mundane tasks that have been taking you way too long to do.

We'll cover lots of common scenarios such as scraping web pages, managing remote systems (both Windows and Linux), managing files, and a whole lot more. In this course, each video is designed to help you with a specific task.

You'll get a wide variety of real-world solutions to real-world problems, all of which (and more) can be solved with PowerShell Core.

All the code and supporting files for this course are available at https://github.com/PacktPublishing/-PowerShell-Core-Recipes

Downloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Chapter 1 : Installing Powershell Core
    1. The Course Overview 00:03:44
    2. Installing PowerShell Core on CentOS/RHEL 00:01:35
    3. Installing PowerShell Core on Debian (Ubuntu) 00:01:59
    4. Installing PowerShell Core on Linux Using Snap 00:01:40
    5. Installing Powershell Core on Windows 00:01:26
  2. Chapter 2 : Harvesting Information from the Web
    1. Scraping Web Pages 00:04:33
    2. Parsing HTML with PowerShell Core 00:10:50
    3. Reading REST APIs 00:07:54
    4. Manipulating Data with REST APIs 00:09:45
    5. Querying the Wolfram Alpha API with PowerShell Core 00:05:49
  3. Chapter 3 : Managing Common Infrastructure Services
    1. Managing Windows Features 00:03:33
    2. Working with DNS 00:04:56
    3. Working with DHCP 00:04:34
    4. Managing File Servers 00:06:14
  4. Chapter 4 : Managing Remote Systems
    1. Connecting to Windows Computers over WinRM 00:02:23
    2. Connecting to Windows Computers over SSH 00:04:24
    3. Connecting to Linux Computers over SSH 00:03:39
    4. Leveraging Remoting to Inventory Computers Using PowerShell Core 00:02:55
  5. Chapter 5 : Working with Files
    1. Reading and Manipulating Text Files 00:05:18
    2. Transferring Files 00:04:27
    3. Navigating the File System in Windows 00:02:59
    4. Navigating the File System in Linux 00:03:00
    5. Finding All Users with an SSH Config and Parsing it for Useful Data 00:01:30
  6. Chapter 6 : Working with the Windows Registry
    1. Creating Registry Keys and Values 00:02:45
    2. Reading the Registry 00:03:29
    3. Finding and Comparing Registry Keys Across Systems 00:03:47
  7. Chapter 7 : Customizing the Environment
    1. Customizing The Prompt 00:06:58
    2. Managing the $env:PATH Variable 00:05:38
    3. Adding To Your Profile 00:05:07