PowerShell 7 Tutorial 17: Introduction to Creating Functions
NetITGeeks NetITGeeks
12.8K subscribers
254 views
0

 Published On Sep 22, 2023

This tutorial is targeted towards beginners and I cover how to create functions in Windows PowerShell 7. The topics I covered here are also valid for PowerShell 5 and previous versions of PowerShell 7. To download the .csv file used in the importing data example, please visit https://sanuja.com/blog/reference/com... and click on the download link listed under "Elementary" section.

If you need a tutorial on how to install PowerShell version 7, please watch the following videos:
Installing PS7:    • PowerShell 7 Tutorial 1: How to insta...  
Setting up ISE:    • PowerShell 7 Tutorial 2: How to setup...  

-Windows PowerShell playlist:
   • PowerShell 7 Tutorials - Beginners  
-Windows Server Admin playlist:
   • Windows Server Administration  
-Microsoft Windows playlist:
   • Microsoft Windows  

Chapters:
00:00 - Introduction
01:12 - Creating a function
06:14 - Passing parameters
Passing as cmdlet:    • PowerShell 7 Tutorial 18: Using your ...  
15:58 - Saving output to variable
21:10 - Best practices

Track: WhileART Sessions Episode 02 | Waramathi (වරමාතී) Fusion
Watch:    • WhileART Sessions Episode 02 | Warama...  

https://sanuja.com

Co-producer:
Manuja Senanayake

#PowerShell #functions #powershellscripting #PowerShell7 #windows11

show more

Share/Embed