How to create a PowerShell module

Опубликовано: 01 Ноябрь 2024
на канале: Get Rubix
587
22

If you work with PowerShell a lot, or even write your own scripts, have you ever thought about making your own PowerShell module?

While it might seem daunting at first, it's actually really easy to create a basic module which can help if you find yourself using the same functions over and over again.

So today, we'll talk about how to create a PowerShell module.

Join the official Discord server
  / discord  

Read more at
https://www.getrubix.com

Chapters
0:00:00 Chess for money
0:00:57 Many many functions
0:01:32 The anatomy of a module
0:02:32 Create the folder structure
0:03:20 Make a manifest
0:05:06 Put functions in the module
0:08:08 Test script
0:08:38 Import-Module
0:09:18 Put it with the rest of the modules
0:10:34 The more you know...

#intune #autopilot #windows10 #windows11 #microsoftgraph #azureadministrator #azure #powershellscripting #powershell #activedirectory #bitlocker #windows365 #zerotrust #certificate #entra #microsoftdefender #zerotrust #mdm