PowerShell Intermediate Tutorial 1 : Custom Functions [Intermediate]
Ғылым және технология
Custom Functions in PowerShell are very useful to reuse code. In this first tutorial video of my intermediate tutorial video series, we go over custom functions and how to define them and use them. In the next video we will see how we can combine these functions into a module and have a library of functions available to us.
Beginner PowerShell playlist : • PowerShell Tutorial 1 ...
PowerShell Tutorial Playlist : • PowerShell Tutorial 1 ...
Tags:
PowerShell
Custom Functions
JackedProgrammer
Coding
Scripting
Automation
Пікірлер: 9
Thank you very much for making these videos. I had a hard time learning until I came across these. Believe it or not, I was just fired because I didn't know how to script.
Very helpful
thanks for the video
@jackedprogrammer
Жыл бұрын
No problem, glad you're enjoying the videos :)
Just found your channel. Great video. Something I noticed with tutorial videos is that nobody ever error handles. What if you sent the email and the remote server was down? I always forget how to distinguish error types. Should you handle with Try Catch or not, etc. A video on error handling would be nice to add to your list. Thanks for the videos.
@jackedprogrammer
2 жыл бұрын
Hi Notta3d, glad you're enjoying the videos, I actually have a video on error handling that can be found here : kzread.info/dash/bejne/ZYV5zpJ9Y860ipc.html let me know if you have any questions on it, also on a lot of the project style videos I usually have built in error handling and explain as I go :) but if any questions always feel free to post them :)
Hi, Great informative video, just a quick question, why have you used cmdletbinding rather than just starting out with params?
@jackedprogrammer
Жыл бұрын
Hi thank you I appreciate it glad you enjoy the videos and it’s to give the functions the default cmdlet options if implemented later on for verbose or what if etc
Create explanation