PowerShell function - converting script into function with parameters

Published: 21 January 2022
on channel: Kamil Pro
961
29

So you've been writing your scripts for some time and wondering how to make them more PowerShell-like, so that they can be invoked from the console like all the other cmdlets?

In this quick video I'll show you how to convert a sample script into function, add parameters and indicated to your user how to use your function with mandatory parameters and types.

Github with script: https://github.com/thekamilpro/About-...

◼️◼️◼️
🐤 Twitter:   / thekamilpro  
📜 LinkedIn: www.linkedin.com/in/kamilpro
🌎 Website: https://kamilpro.com
💻 GitHub: https://github.com/thekamilpro


On this page of the site you can watch the video online PowerShell function - converting script into function with parameters with a duration of hours minute second in good quality, which was uploaded by the user Kamil Pro 21 January 2022, share the link with friends and acquaintances, this video has already been watched 961 times on youtube and it was liked by 29 viewers. Enjoy your viewing!