Learn to Program in PowerShell Part 9: Modules and Classes

preview_player
Показать описание

In this video, we create our own PowerShell module. We can import our module from a PowerShell prompt and then call the functions it defines. Our module also defines a class, which is a custom object type.

Рекомендации по теме
Комментарии
Автор

Thanks for sharing this.
A couple of recommendations.
Concentrate on the topic of the video so here modules and classes. Using a prime algorithm or something like that just bloats things and distracts from the topic.
This can find its place in another video.
Two simple functions are sufficient for the topic of modules and get to the heart of the topic.
There is still a lot to explain about modules and that is not covered here or cannot be dealt with due to lack of time.
Presentation:
Almost everyone does not see the video in full screen mode on a PC. Most people's attention is focused on the center of the screen. So when you display something in a terminal, the line of your input should be roughly in the center of the video and have a large font that can also be read on a tablet or smartphone.
A terminal window in the middle would be better. Many lines do not have to be visible because they are not needed for the learning effect. And you don't need long lines for your examples.

mydetlef