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

The specified initialization vector (IV) does not match the block size for this algorithm