Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Basic PowerShell commands for Windows Admin
Rating: 4.1 out of 5(1,091 ratings)
18,080 students

Basic PowerShell commands for Windows Admin

Best course for Beginners and intermediate with quick hands on and ramp up
Created byShakil khan
Last updated 8/2020
English

What you'll learn

  • Students should be able to write and demonstrate basic to fairly advance Power Shell scripts.

Course content

1 section16 lectures2h 33m total length
  • Introduction10:22

    Introduction to Powershell

  • Start-Transcript and PowerShell Version6:28

    How to use start-transcript to record all the commands which are typed in Powershell terminal. Also this video teaches as to how to get the PowerShell version.

  • Execution Policy6:03

    Describes the execution environment and how to run a powershell script or command. Sets the execution environment as remotesigned.

  • How to get and set Alias and how to use pushd and popd6:01

    How to look for alias in powershell command and how to create an Alias

  • get-childitem and formatting the output of command11:52

    List all all files and folder using get-childitem and format the output on screen.

  • get-command and how to navigate help, measure-object and count12:24

    How to effectively navigate help for a command.

  • File Handling like New-Item, Get-Content,remove-Item, rename-Item, Move-Item19:34

    File handling operations in powershell like creation, deletion, editing etc

  • Sorting the object and grouping9:51

    Sorting and grouping a powershell object using sort-object and group-object.

  • Selecting an object and iterating using foreach-object13:30

    Selecting and iterating an object using select-object and foreach-object to iterating or filter out certain fields from the object.

  • Filtering using where-object and some more examples of group-object5:10

    Some more examples of where-object and grouping of object.

  • get-process and how to stop a process or kill it6:08

    Demonstrate the get-process to list out processes and how to stop or kill a process.

  • Important PowerShell commands like Stop Process, convert data to HTML or CSV14:14

    Some important day to day life powershell commands

  • String Handling in PowerShell4:46

    String Handling in powershell environment.

  • Navigating Help In PowerShell to look for event Logs9:21

    Independently Navigating powershell help to effectively search and locate the right command for a task.

  • Environment Variable Part 18:51

    How to set and retrieve the environment variable.

  • Persistent Environment Variable in Registry9:05

    How to create a persistent environment variable which is stored in registry.

Requirements

  • Students need to know the basic operations of Windows Operating System
  • It would be advisable for the students to get hands on Windows operating experience

Description

This PowerShell course is specially crafted for beginners and intermediate learners who have little or no prior knowledge of PowerShell. That said, the course also covers several advanced concepts (check the preview) that can serve as a valuable refresher for experienced PowerShell users.

The course guides students from installation through navigating the help system to mastering essential commands of Windows PowerShell.
Each command and step is explained in detail, ensuring a smooth learning path that empowers students to become independent explorers in the field of PowerShell throughout their careers.

Since PowerShell is a vast field, I've focused on breaking down key concepts in depth, including:

A) Different types of commands, scripts, and cmdlets that can be run from PowerShell.
B) Object handling and piping — including Where-Object, ForEach-Object, and more.
C) Object sorting, manipulation, and formatting — using Sort-Object, Format-List, Format-Table, and others.
D) Navigating the help system for unfamiliar commands using Get-Help with keywords — for example, exploring Get-EventLog. E) Understanding virtual drive letters for environment variables and regular partitions using Get-PSDrive.
F) Managing execution policies with Set-ExecutionPolicy and Get-ExecutionPolicy.
G) String handling — including operations such as measuring string length and extracting unique strings from an array.
H) Different types of modules, functions, and aliases that can be managed and utilized within PowerShell.

Who this course is for:

  • System Administrator or Automation Engineer. Powershell can also be handy general purpose windows system administrator.