PowerShell Modules

preview_player
Показать описание
Learn how to both use and create PowerShell Modules. Discover what components make up a PowerShell module. See how to discover modules, install modules, and import PowerShell modules. Watch as I take a fully functional PowerShell module and walk through how to publish it to the PowerShell Gallery.

Corresponding TechThoughts write-up:

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
00:00 - Intro
00:42 - Starting with a script
03:24 - PowerShell Module - psm1
05:51 - PowerShell Module Manifest - psd1
10:08 - PowerShell Repository - PSGallery
11:16 - Find-Module
12:02 - Install-Module
13:33 - Manually installing PowerShell modules - $env:PSModulePath
17:04 - Save-Module
19:50 - Final Example - publishing a module to PSGallery
23:13 - More advanced module building
24:38 - Outro

Learn PowerShell - Episode 13 - PowerShell Modules

Reference PowerShell code examples from this episode:

Check out the complete Learn PowerShell YouTube Playlist:

~

My recommended books for learning PowerShell:
(these affiliate links cost you nothing extra and help support this channel)

If you are able, and found this content valuable, please consider a secure donation in the link below. Your contribution helps offset the costs of producing this PowerShell series. Much appreciated!

Learn PowerShell online free in this operationally focused PowerShell series. These PowerShell tutorials are designed to get you ramped up and using PowerShell quickly. Each episode provides practical PowerShell examples for using PowerShell in the real world. Whether you are a PowerShell beginner or seeking advance PowerShell training, this Learn PowerShell series covers the topics you'll need to be effective with PowerShell!

Recording gear used in this video:
- Mic: Audio-Technica AT2035

#learnPowerShell #PowerShell #PowerShelltraining #PowerShellTutorial
Рекомендации по теме
Комментарии
Автор

Best PowerShell series on YouTube, if not the entire internet. Thank you so much.

Rekke_yt
Автор

Can't wait for the advanced powershell module publishing content

swissbuechi
Автор

Superb! Very well explained. Thank you.

__abel_bg
Автор

This is over a year old but I'm just learning and would like to know how I can suppress the yes no prompt and install modules on a remote machine. This is becoming more and more common in my team and I have no idea how to do it.

SJ-nuou
Автор

Great tutorial on PS Modules!

I was wondering if you could make a video about a way to distribute modules locally over the network, so someone can import custom modules, no matter which server there on without PSGallery. I read something about a custom PS Repository, but so far, nothing good.

damianeickhoff