The advanced scripting module that introduces functions, creating your own modules and signing scripts.
This is a multi-part class that should be viewed as part of its playlist, • PowerShell Master Class
Materials for the class available at github.com/johnthebrit/PowerS...
00:00 Introduction
00:25 Lazy parameters
02:37 Types of parameter
03:25 Using multiple parameters
05:43 Explicitly define parameter position
07:08 Using different parameter names
08:59 Switches
11:13 Accepting pipeline input
13:40 Enabling help
16:33 Troubleshooting
22:53 Try and catch
27:05 Creating your own modules
30:52 PSModulePath
33:15 More on functions
35:16 Making it a function
37:55 Importing your module
40:00 Signing your script
45:30 Coming up next
6 авг 2024