PowerShell Functions and Examples

preview_player
Показать описание
This tutorial will demonstrate why Functions are used in PowerShell and how to create them. Parameter passing and returning values will be explained.

00:00 Splash Screen
00:10 Introduction
01:06 Why use a Function?
02:03 First Function Written in Visual Studio Code
03:04 Writing Multiple Functions in One Script
03:45 Calling a Function
05:30 Mandatory vs non-Mandatory Parameters
10:00 Simple Adding Integers Function
13:30 Casting parameters to a specific variable type
17:00 Returning Values from a Function

The PowerShell Playlist can be accessed below

The latest L.A.M.E. Splunk apps are available at
Рекомендации по теме
Комментарии
Автор

Best intro to functions ever. I only struggle to read text in VSC but maybe bcos i am old

chiefbackbone