Understanding PowerShell Variable Scope in Scripts and Modules

Published: 21 August 2024
on channel: Jeff Brown Tech
293
13

Not all PowerShell variables are created equally! In this video, learn about the different scopes available when working with PowerShell variables.

👇 Get the Code Here! 👇
https://github.com/JeffBrownTech/jeff...

📖 Read More About This 📖
PowerShell Variable Scope Guide: Using Scope in Scripts and Modules
https://www.varonis.com/blog/powershe...

Twilio PowerShell Module:
https://github.com/JeffBrownTech/twil...

⏰ Chapters ⏰
00:00 Introduction
00:17 Scope Definitions
01:29 Comparing Global and Script Scope
05:20 Demonstrating Variable/Block Scoping
06:57 Sharing Variables Between Functions
09:40 Reviewing Scope in a Custom Module
12:01 Summary


Social Links
🔗 LinkedIn:   / jeffbrowntech  
🔗 X:   / jeffwbrown  
🔗 Threads: https://www.threads.net/@jeffbrowntech
🔗 Mastodon: https://mastodon.social/@JeffBrownTech


Watch video Understanding PowerShell Variable Scope in Scripts and Modules online, duration hours minute second in high quality that is uploaded to the channel Jeff Brown Tech 21 August 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 293 times and liked it 13 visitors.