PowerShell Functions - The Basics

Опубликовано: 12 Февраль 2024
на канале: PowerShellNerd
275
8

This video will go over the basics of what functions are and the syntax for creating them. I'll make a deeper dive into advanced functions in a later video.

00:00 Intro
00:25 Create ps1 file
00:30 Function Syntax
01:25 Add parameter to function
02:20 Mandatory Parameters
03:00 Creaet ps1 file for new function
03:10 Create Function Get-ComputerInfo
03:50 Show output for Get-ComputerInfo
04:00 Explain output options
04:15 Foreach Loop on disk
05:40 Show output of disk info
06:00 Converting the size to GBs

🔔 Subscribe to become a PowerShell Pro! https://www.youtube.com/@matthewdaugh...


На этой странице сайта вы можете посмотреть видео онлайн PowerShell Functions - The Basics длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь PowerShellNerd 12 Февраль 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 275 раз и оно понравилось 8 зрителям. Приятного просмотра!