Publishing powershell module



First you can create a folder to place all these files and make sure you have powershell installed

Create your powershell module with a psm1 extension

You can copy and paste the cod from here, just make sure you have the right eten

Setup your module manifest

New-ModuleManifest -path ./firstmodule.psd1                                                                                                                     

Edit firstmodule.psd1 and add the following


Description = 'demo module


This basically gives it the minimum requirements :)


Publish-Module -path /Users/jeremy/tmp/work/powershell/firstmodule -nugetapikey  

Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type