build.ps1
#Varibales $ModuleSettings = @{ RootModule = './demo-module-explore22.psm1' ModuleVersion = '1.0.3' Author = 'David Stamen' Description = 'This is a demo created for VMware Explore 2022' FunctionsToExport = "Get-VMClusterInfo" IconURI = 'https://github.com/dstamen/demo-module-explore22/blob/main/logo.png' } $ModuleSettings #Create Manifest New-ModuleManifest @ModuleSettings -Path './demo-module-explore22.psd1' Test-ModuleManifest -Path ./demo-module-explore22.psd1 #Publish Module Publish-Module -Path . -NuGetApiKey 'oy2m4ekyyxomfflkygfqjkcfpehoevke5flmnediw3metm' |