PowerShell Functions and Examples

Published: 07 December 2022
on channel: Lame Creations
911
13

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
   • PowerShell for Security Pros: Automate, De...  

Join this channel to get access to early release of videos and exclusive training videos that will help make you L.A.M.E. ninja:    / @lamecreations_guides  

Visit our discord channel to post questions and suggestions for what you want to learn.   / discord  

The latest L.A.M.E. Splunk apps are available at
https://www.github.com/lameCreations


On this page of the site you can watch the video online PowerShell Functions and Examples with a duration of hours minute second in good quality, which was uploaded by the user Lame Creations 07 December 2022, share the link with friends and acquaintances, this video has already been watched 911 times on youtube and it was liked by 13 viewers. Enjoy your viewing!