PowerShell 09: Functions 2 - Advanced Functions

Опубликовано: 22 Октябрь 2024
на канале: OneByteAtATime
650
6

More Advanced Functions Chapters
1. (00:15) Functions With Parameters that Take Arguments
2. (00:49) Defining Parameter Functions
3. (01:28) Calling / Invoking Parameter Functions
4. (02:32) Auto-Complete and Inteli-sense in ISE
5. (04:21) Number Game As Parameter Function
6. (11:02) Pokemon As Parameter Function
7. (13:32) Param Structures
8. (15:37) Default Parameters
9. (22:38) Functions that RETURN Values
10. (28:38) The WEIRDNESS of POSH Functions that RETURN values:
How they differ from C++ and Java methods
11. (30:06) Use Write-Host() in Functions that RETURN a Value instead of Write()
12. (32:10) The Write-Information("") Method With -InformationAction CONTINUE
13. (33:25) Parameter Functions that Both Take Arguments AND RETURN Values
14. (36:29) Parameter Functions that Take Arguments,
Have Default Values AND RETURN Values
15. (37:42) Functions Run from the COMMAND LINE that take Command Line Arguments
16. (38:03) Command Line Argument Default Array $args[$x]
17. (43:33) Pokemon Tournament With Command Line Arguments
18. (23:58) Ping Sweeper - With Default Parameter Arguments

Advanced functions that take arguments and parameters, return values and run from the command line.

Source Code 01: Pokemon 1 https://github.com/OneByteAtATimeCarl...

Source Code 02: Pokemon 2 https://github.com/OneByteAtATimeCarl...

Source Code 03: Pokemon 3 https://github.com/OneByteAtATimeCarl...

Source Code 04: Arguments: Number Game https://github.com/OneByteAtATimeCarl...

Source Code 05: Arguments: Params : Pokemon https://github.com/OneByteAtATimeCarl...

Source Code 06: Arguments: Pokemon https://github.com/OneByteAtATimeCarl...

Source Code 07: Parameters: Number Game: A https://github.com/OneByteAtATimeCarl...

Source Code 08: Parameters: Number Game: B https://github.com/OneByteAtATimeCarl...

Source Code 09: Parameters: Number Game: C https://github.com/OneByteAtATimeCarl...

Source Code 10: Parameters : Pokemon https://github.com/OneByteAtATimeCarl...

Source Code 11: Returning Values https://github.com/OneByteAtATimeCarl...

Source Code 12: Command Line Arguments A https://github.com/OneByteAtATimeCarl...

Source Code 13: Command Line Arguments B https://github.com/OneByteAtATimeCarl...

Source Code 14: Other Things https://github.com/OneByteAtATimeCarl...

Source Code 15: MegaPet 1.0 https://github.com/OneByteAtATimeCarl...

Source Code 16: Ping Sweeper https://github.com/OneByteAtATimeCarl...

Source Code 17: Console Calculator 1.0 https://github.com/OneByteAtATimeCarl...

PowerShell Playlist:    • PowerShell 01 - Introduction  

Root Channel:    / onebyteatatime7