PowerShell function - converting script into function with parameters
Автор: Kamil Pro
Загружено: 2022-01-21
Просмотров: 1267
✅ Learn PowerShell: https://kamilpro.com/pwsh1
✅ Learn PowerShell Scripting: https://kamilpro.com/pwsh2
✅ Learn CI/CD With PowerShell and GitHub Actions: https://kamilpro.com/pwsh3
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
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: