Learn PowerShell in Less Than 2 Hours

preview_player
Показать описание
#powershell #powershellscripting #powershelltraining

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:

Newsletter:

Socials:
Рекомендации по теме
Комментарии
Автор

It seems nomatter what I do it won't let me run scripts. It keeps saying that i have unauthorized access despite setting the policy in both PS and ISE in either order, with administrative privileges. I'm on W11, PS version 5 latest build.

nolan_
Автор

I found the best way to fix all errors in PowerShell. Change the font color of errors to match your background color. If you can't see the errors, they don't exist.

theindooroutdoorsman
Автор

Update: this video helped my buddy to ditch the GUI and to be comfortable doing it! Yay!!!

This is fantastic!! Thanks! I’m recommending this to a friend who uses windows exclusively, who hasn’t ditched the GUI yet. This really is a great tutorial. Appreciate you.

dominiquedoeslife
Автор

I had my doubts about you and 2 hrs but I have to admit that this gets down to the nitty gritty. Thanks for taking the time.

visiongem
Автор

great video man, great content.. i am begginer with basic python knowledge yet i was able to understand everything thanks a lot

offendedpotato
Автор

Well organized, well spoken, easy to understand tutorial. For some reasons, volume is low (I experience this volume issue on some other online videos - but not all videos).

safkaify
Автор

1:22:42 This is where the SHELL part starts

davidpinheiro
Автор

As a new PowerShell user this was super helpful and you presented it in a fun easy to understand way. Thanks

joetripp
Автор

great stuff thanks. was in bash world for so long and as soon as wsl2 and powershell v6 became a thing i was like "ok windows is now my machine - and i can build stuff easily cross platform too"

nathanbenton
Автор

Thank you, that was very easy to follow & made a lot of Sense!
Thanks!

Marawan-Mero
Автор

WOW just wow! I got chat gpt to make a script that outputs a template for me based on my answers and I've been struggling to edit it as I don't know much, I'm only 18 minutes into this video and i was able to understand my script and make the correct edits!

Markymark-qcbj
Автор

Thank you. This video was so helpful. I'm just starting my journey learning PowerShell and this was so helpful. You gave me some confidence in learning it now.

Promise
Автор

best powershell tutorial video i have seen on the internet🔥🔥🔥

ashutoshpandey
Автор

++GOOD! Watched a ton of videos on the topic the last 2 days - this one is by far the best: well structured, understandable examples, fun to key along in my own system.Keep up the good work!

AppCritic
Автор

I appreciate at the references used for programming. I didn't realize we were up to 908 pokemon these days. But I'm partial to the Johto region.

zuko
Автор

Hands down, the best tutorial on youtube (on the market for that matter lol) thanks bro!

prodigalSon
Автор

I'm on linux & stumble to this ...Why not ~

e-bz
Автор

Thank you-I was able to learn PS basics- I like your teaching style..too good🤘

mukundkumar
Автор

Thanks mate, good vid. Newbie here and learnt a lot, much appreciated.

RobbC.
Автор

Probably one of the better tutorials! Mike from MI

denalimike