Get free YouTube views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

PowerShell Functions

Follow
TechThoughts

Learn how to work with PowerShell Functions. In this episode of Learn PowerShell I dive into what makes up a PowerShell Function. Discover the difference between an advanced and standard PowerShell function. I also tackle the question of why you might write a PowerShell Function vs PowerShell Script. Go beyond theory this episode uses real life fully functional PowerShell Functions to explore how functions are made and how they operate.

Corresponding TechThoughts writeup:
https://www.techthoughts.info/powersh...

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
00:00 Intro
00:26 Anatomy of a PowerShell Function
04:23 Function vs Script
06:20 GetPublicIP Function Example
07:58 CmdletBinding
11:05 PowerShell Function Parameters
17:43 GetWeather Function Example
20:41 Begin Process End
23:53 PowerShell Function Scopes
27:26 Final Example GetReddit
34:16 Recap
35:34 Outro

Learn PowerShell Episode 11 PowerShell Functions

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/cgibin/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: AudioTechnica 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

posted by texasboyay