Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Guide to Powershell 6 and Automating Active Directory
Rating: 4.4 out of 5(32 ratings)
320 students

Guide to Powershell 6 and Automating Active Directory

Use PowerShell for Active Directory to eliminate manual task with quick automation tasks and functions
Last updated 5/2019
English

What you'll learn

  • Learn how to navigate and use PowerShell 6 fluently
  • Manage servers remotely using PowerShell 6
  • Discover scripts to automate administrative tasks
  • How to solve problems and perform Active Directory tasks using PowerShell
  • Work with Azure Load Balancers and Application Gateways with Windows PowerShell

Course content

2 sections68 lectures6h 26m total length
  • The Course Overview5:59

    This video gives an overview of the entire course.

  • Setting Up a Lab7:39

    In this video, we will learn what type of lab environment is recommended to begin learning PowerShell.

    • Determine physical or virtual lab

    • Obtain software and operating system ISOs

    • Setup machines, install OS, and install core applications

  • Accessing the PowerShell Console and PowerShell ISE3:32

    In this video, we will begin learning PowerShell by first accessing the environment and learning the different ones available.

    • Open the standard console

    • Explore the alternate consoles such as administrator and X86

    • Open the ISE environment and discuss the basics

  • Accessing and Updating the Help System5:07

    In this video, we will learn how to update the help system to populate the help files and then access them.

    • Use Update-Help to update help files

    • Explore Save-Help for offline systems

    • Use Get-Help and Help to access the help system

  • Finding and Running Cmdlets5:21

    In this video, we will learn how to discover and use Cmdlets.

    • Understand the basic Verb-Noun pattern of Cmdlets

    • Learn to navigate with tab and the arrow keys

    • Use help and Get-Command to discover available Cmdlets

  • Using the Help System and Protecting with -WhatIf and -Confirm11:56

    In this video, we will learn how to get full help on commands to learn what they do and how to use them.

    • Learn parameters of Get-Help and dissect the needed information

    • Analyze the syntax and understand how different Cmdlets can run

    • Protect yourself using -WhatIf and -Confirm

  • Working with PSProviders and PSDrives7:10

    In this video, we will see how PSProviders provide the logic and how PSDrives provide entry points into data stores.

    • Look up available PSProviders

    • Look up available PSDrives

    • Create a new PSDrive

  • Exploring File System Navigation and Manipulation3:35

    In this video, we will learn the difference in ChildItem and Item as well as aliases and functions that assist with the file system.

    • Define the difference in Item and ChildItem

    • Set up the working location

    • Examine the Mkdir function

  • Working with the Registry Keys4:21

    In this video, we will learn how to access, navigate, and manipulate the Registry.

    • Use the registry provider to access one of the Registry PSDrives

    • Navigate through the directory structure

    • Edit a Registry key

  • Identifying Errors4:36

    In this video, we will learn how to avoid errors and work through them.

    • Utilize tab complete for PowerShell to assist typing correctly

    • Locate the error and what information may be missing

    • Use terminology in error to match with help file information

  • Differentiating between Objects and Texts4:11

    In this video, we will learn that PowerShell uses objects with properties and methods.

    • Isolate an object’s property

    • Change output of an object using a method

    • Use a method to stop a process

  • Working with WMI and CIM Objects3:31

    In this video, we will use Windows Management Instrumentation (WMI) and Common Information Model (CIM) to administer systems

    • How to find classes

    • Get information from WMI object classes

    • Get information from CIM object classes

  • Finding, Creating, and Using Variables4:28

    In this video, we will learn how to find existing variables and create new ones.

    • Look up built-in variables

    • Navigate the environmental variables drive

    • Create and change values of variables

  • Passing Objects through the Pipeline3:40

    In this video, we will learn how to send objects through the pipeline to change them or perform other functions on them.

    • Discuss differences in objects and text

    • Distinguish between by property name and by value

    • Use Get-Member to see the methods and properties of objects

  • Diving into Queries and Expressions5:42

    In this video, we will learn how to select properties and sort them.

    • Select objects

    • Sort objects

    • Create custom expressions

  • Formatting for Efficiency6:32

    In this video, we will learn how to be efficient by filtering first and then formatting.

    • Discuss filtering first, then formatting the output

    • User Where-Object to filter the results

    • Format the output into different layouts

  • Using the Pipeline to Create a Report5:16

    In this video, we will learn how to output data to different file types, screens, or printers.

    • Output data to a text file

    • Output data to a GUI or a printer

    • Export data to a CSV file

  • Enhancing Your System Security5:25

    In this video, we will learn how Microsoft enhances your security with the design and defaults of remoting.

    • Enable remoting

    • See how hopping fails

    • Discuss permissions

  • Running Cmdlets on a Remote Machine4:08

    In this video, we will learn how to run a command using a remote machine as the target.

    • Get a service status on two remote servers

    • Run a command on a remote system

    • Get a variable’s value from a remote system

  • Creating a Session on a Remote Machine4:18

    In this video, we will learn how to open a session on a remote system that allows multiple consecutive commands to be ran.

    • Use New-PSSession to create a session

    • Enter a session and use it

    • Exit the session

  • Connecting to Microsoft Online4:13

    In this video, we will learn how to connect to online services to administrate them.

    • Discuss requirements

    • Import required module(s)

    • Connect to the service and test

  • Importing Cmdlets from a Remote System7:11

    In this video, we will learn how to import a module from a remote system in order to use the specific Cmdlets.

    • Create a new session

    • Import the module

    • Use the Cmdlets and exit the session

  • Process of Script Development3:23

    In this video, we will get the understanding of the basic outline and process of PowerShell script creation.

    • Understand that the best beginning is to define the need

    • Become familiar with some basic ISE tools

    • Comply with standard naming conventions

  • Create a Script to Gather Data and Create a Report4:58

    In order to meet requirements for an asset audit, a script will save time by creating a report of asset information.

    • Use snippets to build a basic help section

    • Put output from commands into variables to build report

    • Output required data to a simple report on screen

  • Create a Script to Make a DHCP Reservation5:55

    In order to quickly create DHCP reservations for devices, a script will be needed to conduct multiple commands for the desired results.

    • Build a basic help section and create a standardized name

    • Create a parameter block including help statements

    • Include the necessary commands and test

  • Turn a Script into a Function5:13

    In this video, we will learn how to connect to online services to administrate them.

    • Convert the previous script into a function

    • Create or locate the PowerShell profile script

    • Insert the function into the profile script and test

  • Creating Modules4:12

    In this video, we will learn how to import a module from a remote system in order to use the specific Cmdlets.

    • Determine the proper location and naming conventions for modules

    • Add another function to the new module

    • Test availability of both functions in module

  • Active Directory Administration with PowerShell5:20

    In this video, we will see how PowerShell provides a fast way to enter the Active Directory structure to administrate it.

    • Access the AD module using a DC remote session

    • Create a new AD user account and enable it

    • Add user to groups and set user properties

  • Microsoft Online Office 365 Administration with PowerShell3:06

    This video explains about the PowerShell which provides access to Microsoft online services for efficient administration of Office 365 accounts.

    • Store credentials using Get-Credentials into a variable

    • Connect to MS online service

    • Get some information to verify connection

  • IIS Web Server Administration with PowerShell2:32

    In this video, we will easily create or change website content within the PowerShell console.

    • Create a file and set content in it for webpage

    • Copy the file to the IIS server

    • Verify changes to the web site

  • Introduction to Desired State Configuration6:07

    In this video, we will validate configuration requirements and make changes as needed with the automated abilities of Desired State Configuration.

    • Examine the layout of a DSC configuration script

    • Run a configuration script and start DSC configuration

    • Verify desired state configuration occurred

  • Test your knowledge

Requirements

  • No prior knowledge of PowerShell is required.

Description

Built on the .NET Framework, Windows PowerShell helps IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows. PowerShell combines command-line speed, the flexibility of scripting, and the power of a GUI-based admin tool. If you’re looking to explore the advanced functions and features of PowerShell 6 then is the perfect Course for you!

With this hands-on guide, you'll begin with, setting up a lab environment to learn and test PowerShell processes. You’ll discover scripts to automate administrative tasks and solve problems to perform tasks using PowerShell 6. Along the way, you’ll perform data manipulation and solve common problems using basic file input/output functions. Then you will learn to customize your preferences, run custom reports, author scripts, and automate tasks.

Contents and Overview

This training program includes 2 complete courses, carefully chosen to give you the most comprehensive training possible.

The first course, Learning PowerShell 6 is designed to help you get up and running with PowerShell, taking you from the basics of installation to writing scripts and web server automation. This will act as an introduction to the central topics of PowerShell, from finding and understanding PowerShell commands and packaging code for reusability right through to a practical example of automating IIS. It also includes topics such as installation and setup, creating scripts, automating tasks, and using PowerShell to access data stores, registry, and file systems. You will explore the PowerShell environment and discover how to use cmdlets, functions, and scripts to automate Windows systems. Along the way, you’ll perform data manipulation and solve common problems using basic file input/output functions. The potential topics could be will be Commands, Scripts, Providers, Files and folders, Objects, Variables, Classes and Enumerations, Expressions, DSC and so on. By the end of this course, you’ll be able to leverage your skills to effectively manage and administrate the system using PowerShell 6.

The second course, Hands-On PowerShell for Active Directory will train you in using PowerShell to manage Active Directory. You will customize your preferences, run custom reports, author scripts, and automate tasks. You will discover how to create scripts, access and change data stores, and automate tasks. By the end of the course, you will have the skills to automate Active Directory jobs with PowerShell components such as cmdlets, functions, modules, providers, objects, variables, expressions, and profiles.

About the Authors:

Joshua B. Jones is an IT Administrator with Superior Industries International and leads the global company in PowerShell administration, scripts, and tool creation. In the past two years, he has eliminated over 1,000 labor hours by automating previously manual tasks using PowerShell. Not only is he an expert, but demonstrates his passion for PowerShell by teaching others the tool at every opportunity presented.

Who this course is for:

  • This course targets Java developers who are comfortable in working with Scala, budding data scientists, and web developers, who want to learn how to overcome various obstacles in their quest to build robust applications in Scala.