PowerShell function - converting script into function with parameters

Pubblicato il: 21 gennaio 2022
sul canale di: 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


In questa pagina del sito puoi guardare il video online PowerShell function - converting script into function with parameters della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Kamil Pro 21 gennaio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 961 volte e gli è piaciuto 29 spettatori. Buona visione!