Tools/GenerateMD.ps1
$moduleVersion = "0.0.1" $manifestPath = Join-Path (Split-Path -Parent $MyInvocation.MyCommand.Path) -ChildPath "..\SPODevops.psd1" Remove-Item -Path $manifestPath -ErrorAction SilentlyContinue $releaseNotes = " 0.0.1 * Initial release. " #New-ModuleManifest -Path $manifestPath -ModuleVersion $moduleVersion -RootModule ".\SPODevops.psm1" -Guid '3d4fe3d7-46d7-418f-8979-1f7b36b3dd35' -Author "Jun" -CompanyName "SPO Inside" -FunctionsToExport '*' -Copyright "2020 SPO, All Rights Reserved" -ProjectUri "https://github.com/spo" -LicenseUri "https://github.com/spo/blob/master/LICENSE" -Description $description -Tags $tags -ReleaseNotes $releaseNotes -Verbose $guid = [guid]::NewGuid() $generateManifestArgs = @{ Path = $manifestPath # START PrivateData.PSData # Tags applied to this module. These help with module discovery in online galleries. Tags = @( 'SPO', 'Devops', 'PowerShell', 'SDK' ) # Flag to indicate whether the module requires explicit user acceptance # RequireLicenseAcceptance = $true # A URL to the license for this module. LicenseUri = 'https://github.com/spo/LICENSE.txt' # A URL to the main website for this project. ProjectUri = 'https://github.com/spo' # A URL to an icon representing this module. # IconUri = '' # ReleaseNotes of this module ReleaseNotes = $releaseNotes # External dependent modules of this module # ExternalModuleDependencies = '' # END PrivateData.PSData # Script module or binary module file associated with this manifest RootModule = 'SPODevops.psm1' # Version number of this module. ModuleVersion = $moduleVersion # ID used to uniquely identify this module GUID = $guid # Author of this module Author = 'SPO Devops Corp' # Company or vendor of this module CompanyName = 'SPO Devops Corp' # Copyright statement for this module Copyright = '(c) 2019 SPO Devops. All rights reserved.' # Description of the functionality provided by this module Description = 'PowerShell SDK for SPO Devops' # Minimum version of the Windows PowerShell engine required by this module # PowerShellVersion = '' # Name of the Windows PowerShell host required by this module # PowerShellHostName = '' # Minimum version of the Windows PowerShell host required by this module # PowerShellHostVersion = '' # Minimum version of the .NET Framework required by this module # DotNetFrameworkVersion = '' # Minimum version of the common language runtime (CLR) required by this module # CLRVersion = '' # Processor architecture (None, X86, Amd64) required by this module # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module # RequiredModules = @() # Assemblies that must be loaded prior to importing this module # RequiredAssemblies = @() # Script files (.ps1) that are run in the caller's environment prior to importing this module # ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module # TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module # FormatsToProcess = @() # Functions to export from this module FunctionsToExport = '*' # $functions # Cmdlets to export from this module CmdletsToExport = '*' # $cmdlets # Variables to export from this module VariablesToExport = '*' # $variables # Aliases to export from this module AliasesToExport = '*' # $aliases # List of all modules packaged with this module # ModuleList = @() # List of all files packaged with this module # FileList = @() # Private data to pass to the module specified in RootModule/ModuleToProcess # PrivateData = '' # HelpInfo URI of this module # HelpInfoURI = '' # Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. # DefaultCommandPrefix = 'MSGraph' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = $nestedModules } New-ModuleManifest @generateManifestArgs # $t = Test-ModuleManifest -Path $manifestPath # $t # $t.ExportedCommands.Keys #Remove-Module PoShMon |