Тёмный
No video :(

Step-by-Step: Building & Leveraging PowerShell Modules with PSGallery 

Mike in the Cloud
Подписаться 3,9 тыс.
Просмотров 1,8 тыс.
50% 1

PowerShell modules are a way to package and distribute reusable sets of PowerShell code, functions, cmdlets, and scripts that can be easily imported and used in other PowerShell scripts or sessions. Modules help improve the organization and maintenance of PowerShell code by encapsulating related functionality in a single unit that can be loaded or unloaded as needed.
PowerShell modules typically consist of a manifest file (.psd1) that describes the module and its dependencies, one or more PowerShell script files (.psm1) that contain the module's functions and cmdlets, and possibly other resource files such as help files or configuration files. Modules can also include version information, author information, and other metadata that can help users understand and use the module.
To use a PowerShell module, you first need to import it into your PowerShell session using the Import-Module cmdlet. Once the module is imported, its functions and cmdlets become available for use in your scripts or interactive sessions.
The PowerShell Gallery (PSGallery) is a public repository of PowerShell modules, scripts, and DSC resources maintained by Microsoft. It provides a centralized location for PowerShell users to discover and download community-contributed modules and scripts, as well as Microsoft-provided modules such as Azure modules, SQL Server modules, and Exchange modules. The PSGallery can be accessed using the PowerShellGet module, which is included in PowerShell version 5.0 and later, and can be installed on earlier versions. The PSGallery is a valuable resource for PowerShell users looking to save time and effort by leveraging existing PowerShell code and functionality.
-------------
Timecodes
00:00 Intro
00:44 What is a module
01:20 default modules
02:30 Importing Modules
03:00 The PSGallery
06:00 ENV Variables and PS Paths
09:20 Make your own module
13:20 Outtro

Опубликовано:

 

6 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 11   
@niyashaneef8010
@niyashaneef8010 4 месяца назад
Thank You for the content
@safkaify7875
@safkaify7875 7 месяцев назад
Nicley explained, well spoken, easy to understand demos and content, good short videos. Please keep up the good work. It helped me a lot.
@mwcloud
@mwcloud 5 месяцев назад
Awesome, thank you!
@klilaayed503
@klilaayed503 Год назад
Thanks for the content!
@mwcloud
@mwcloud Год назад
My pleasure!
@spitzer666
@spitzer666 Год назад
Please make video on how to catch outputs from PS using intune or Config Mgr.
@mwcloud
@mwcloud Год назад
Can you provide a little more detail. In what context do you mean output?
@luc8471
@luc8471 Год назад
I typically send anything that needs to be collected after a script has ran to an SQL instance.
@mwcloud
@mwcloud Год назад
@@luc8471 That is an excellent way of doing things, I will get to something like that in a future video
@drivetrainerYT
@drivetrainerYT Год назад
YT algo thank you comment
@mwcloud
@mwcloud Год назад
Thanks I guess !
Далее
Китайка Шрек всех Сожрал😂😆
00:20
best way out of the labyrinth🌀🗝️🔝
00:17
Просмотров 2,1 млн
Stop, Intel’s Already Dead!
13:47
Просмотров 547 тыс.
Building a PowerShell Module from Scratch
30:02
Просмотров 7 тыс.
How to Be a Great System Administrator in 3 Steps
5:36
PowerShell Functions begin with the basics
6:05
Просмотров 9 тыс.
Creating AD Users from a template with PowerShell
16:20