PS_CreateMainifest.ps1
# http://www.lazywinadmin.com/2016/05/using-pester-to-test-your-manifest-file.html # Provide information on the module $ModuleName = "PSDxExpeditions" $Author = "Reginald Baalbergen de PA1REG" $AuthorCompany = "PA1REG.NL" $Tags = "VE7CC", "HamRadioDeluxe", "DxExpeditions", "PA1REG" $ModuleVersion = "1.1.5.7" $PowerShellVersion = "5.0" $Description = "PSDxExpeditions is a PowerShell module that creates a Dx Expedition alarm files for VE7CC cluster or Ham Radio DeLuxe." $CopyRight = "(c)2017 Reginald Baalbergen de PA1REG. All rights reserved. Licensed under The MIT License (MIT)" $LicenseURI = "https://github.com/PA1REG/$ModuleName/blob/master/LICENSE" $ProjectURI = "https://github.com/PA1REG/$ModuleName/" $RequiredAssemblies = '' $Path = "$env:userprofile\OneDrive\WindowsPowerShell\Modules\$ModuleName\$ModuleName.psd1" $FunctionsToExport = "Update-DxHrdAlarmFile","Update-DxVe7ccAlarmFile","Get-DxCheckApplicationRunning" $AliasesToExport = "UdxH","UdxV","GdxC" # Generate the manifest New-ModuleManifest ` -RootModule "$ModuleName.psm1" ` -Path "$Path" ` -Guid ([guid]::NewGuid()) ` -RequiredAssemblies $RequiredAssemblies ` -Author $Author ` -CompanyName $AuthorCompany ` -ModuleVersion $ModuleVersion ` -Description $Description ` -Copyright $CopyRight ` -Tags $Tags ` -PowerShellVersion $PowerShellVersion ` -LicenseUri $LicenseURI ` -ProjectUri $ProjectURI ` -FunctionsToExport $FunctionsToExport ` -AliasesToExport $AliasesToExport |