#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/PowerShellSys...
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 GetCommand to find Cmdlets
16:08 PowerShell Modules
16:22 GetHelp (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 SelectObject
27:32 Use GetMember to get all of the different possible methods of an object
29:18 Arrays
33:52 Hashtables
39:42 Collecting user input with ReadHost
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 NewItem
1:24:05 Create a folder with NewItem
1:24:43 Copy file with CopyItem
1:25:55 Move file with MoveItem
1:26:44 Delete file with RemoveItem
1:27:35 Confirm if a file is there with TestPath
1:28:35 Rename something with RenameItem
1:29:29 Active Directory
1:30:20 Load AD Cmdlets with ImportModule ActiveDirectory
1:30:41 Get user information with GetADUser
1:33:46 Change user information with SetADUser
1:35:30 Add a user to a group with AddADGroupNumber
1:36:55 Remove a user from a group with RemoveADGroupMember
1:37:27 Turn on advanced features in Active Directory Users & Computers
1:38:26 Add a new user with NewADUser
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