Working With PowerShell Variables

Published: 07 August 2019
on channel: TechThoughts
39,649
857

Learn how to use and work with PowerShell variables. See different PowerShell variable types, and how to identify them. Learn how to get a list of PowerShell constant and environment variables. I'll demo how to strongly type variables, and how different types of quotes can impact PowerShell variable use. Finish this lesson off with an easy how to example that demos PowerShell use in the real world!

Corresponding TechThoughts write-up:
https://www.techthoughts.info/working...

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
00:00 - Intro
00:22 - Basic variable use
03:33 - Typed variables in PowerShell
05:41 - PowerShell DataType example
07:16 - Strongly typing variables
08:14 - Converting data types
09:45 - Using quotes in PowerShell
12:38 - Reserved PowerShell variables
15:15 - Final Example
18:42 - Outro

Learn PowerShell - Episode 5 - Working With PowerShell Variables

Reference PowerShell code examples from this episode:
https://github.com/techthoughts2/Lear...

Check out the complete Learn PowerShell YouTube Playlist:
   • Learn PowerShell  

~
  / jakemorrison  

My recommended books for learning PowerShell:
(these affiliate links cost you nothing extra and help support this channel)
Learn PowerShell in a Month of Lunches: https://amzn.to/3mlbizz
Learn PowerShell Scripting in a Month of Lunches: https://amzn.to/3MtxJxe
Windows PowerShell in Action: https://amzn.to/3xkjGp4
PowerShell Cookbook: https://amzn.to/3tgCq6F

If you are able, and found this content valuable, please consider a secure donation in the link below. Your contribution helps offset the costs of producing this PowerShell series. Much appreciated!
https://www.paypal.com/cgi-bin/webscr...

Learn PowerShell online free in this operationally focused PowerShell series. These PowerShell tutorials are designed to get you ramped up and using PowerShell quickly. Each episode provides practical PowerShell examples for using PowerShell in the real world. Whether you are a PowerShell beginner or seeking advance PowerShell training, this Learn PowerShell series covers the topics you'll need to be effective with PowerShell!

These videos were recorded on a lot of my older equipment.
My newer videos use the following equipment:
Camera: https://amzn.to/3MsjQPu
Lens: https://amzn.to/3NrsKhJ
Teleprompter: https://amzn.to/3monqQc
Mic: Audio-Technica AT2035
Mic Preamp: https://amzn.to/3tlOvY6
Mic Arm: https://amzn.to/3NXJTiP
Audio Interface: https://amzn.to/3xqPqJu
Lighting: https://amzn.to/3O1Z2zR
Rear color lighting: https://amzn.to/3H5MIMI

#learnPowerShell #PowerShell #PowerShelltraining #PowerShellTutorial


Watch video Working With PowerShell Variables online without registration, duration hours minute second in high quality. This video was added by user TechThoughts 07 August 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 39,649 once and liked it 857 people.