Learn PowerShell in Less Than 2 Hours

Published: 09 November 2022
on channel: PowerShell Engineer
286,923
4.6k

#powershell #powershellscripting #powershelltraining

Check out my Udemy course - PowerShell for Systems Engineers - exclusively on Udemy: https://www.udemy.com/course/powershe...

Check out my new book - PowerShell for Systems Engineers - exclusively on Amazon: https://www.amazon.com/PowerShell-Sys...
Table of Contents/Chapters:
0:10 - Introduction
0:32 - Introduction to James Tyler
1:20 - What is PowerShell?
1:41 - How to open PowerShell
1:55 - Adjust the font size of PowerShell
2:13 - Check the version of PowerShell
2:45 - Comparing PowerShell with Command Prompt (CMD)
4:04 - Tips on using the shell itself (up arrow, tab completion)
4:50 - Getting & Setting Execution Policy (so you can actually run scripts!)
6:46 - Open PowerShell ISE
7:46 - Adjust Zoom in PowerShell ISE
8:14 - Write First PowerShell Script
9:06 - Run Your First PowerShell Script
9:22 - Note about PowerShell file extension
9:40 - PowerShell Coding Comments
11:14 - What are Cmdlets?
12:50 - Cmdlet Parameters
14:20 - Clearing the shell
14:29 - Use Get-Command to find Cmdlets
16:08 - PowerShell Modules
16:22 - Get-Help (similar to man in Unix systems)
18:50 - Pipeline (piping - or combining - commands)
20:48 - Variables
21:45 - Pipe a variable
22:29 - PowerShell Variable/Data Types
24:17 - Arithmetic with variables
25:09 - Objects - Chris Thomas shoutout
26:24 - Object properties
26:47 - Get all properties of an object with Select-Object
27:32 - Use Get-Member to get all of the different possible methods of an object
29:18 - Arrays
33:52 - Hashtables
39:42 - Collecting user input with Read-Host
43:44 - If... then... else conditionals
52:47 - Switch Statements
56:24 - For Loops
1:02:58 - Foreach Loops
1:04:07 - While Loops
1:09:08 - Do While Loops
1:10:25 - Defining Custom Functions
1:14:14 - Defining Custom Advanced Functions
1:17:01 - Error Handling
1:22:40 - Create a file with New-Item
1:24:05 - Create a folder with New-Item
1:24:43 - Copy file with Copy-Item
1:25:55 - Move file with Move-Item
1:26:44 - Delete file with Remove-Item
1:27:35 - Confirm if a file is there with Test-Path
1:28:35 - Rename something with Rename-Item
1:29:29 - Active Directory
1:30:20 - Load AD Cmdlets with Import-Module ActiveDirectory
1:30:41 - Get user information with Get-ADUser
1:33:46 - Change user information with Set-ADUser
1:35:30 - Add a user to a group with Add-ADGroupNumber
1:36:55 - Remove a user from a group with Remove-ADGroupMember
1:37:27 - Turn on advanced features in Active Directory Users & Computers
1:38:26 - Add a new user with New-ADUser
1:43:24 - Reset a password of a user
1:46:50 - Wrap up & conclusion

Coding Projects:
https://github.com/jimrtyler

Newsletter:
https://jimtyler.substack.com

Socials:
Twitter:   / jimrtyler  
Facebook:   / coachjimtyler  
Instagram:   / coachjimtyler  
TikTok:   / coachjimtyler  


Watch video Learn PowerShell in Less Than 2 Hours online without registration, duration hours minute second in high quality. This video was added by user PowerShell Engineer 09 November 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 286,92 once and liked it 4.6 thousand people.