PsImport.psd1

#
# Module manifest for module 'PsImport'
#
# Generated by: Alain Herve
#
# Generated on: 11/28/2024
#
@{
  RootModule            = 'PsImport.psm1'
  ModuleVersion         = '0.1.4'
  GUID                  = '58aea5ab-4b34-4b56-8902-0a6687b74430'
  Author                = 'Alain Herve'
  CompanyName           = 'alainQtec'
  Copyright             = "Alain Herve (c) 2024. All rights reserved."
  Description           = 'A module to import functions from PowerShell scripts in your project, and remote scripts making it easier to organize and reuse your code.'
  PowerShellVersion     = '3.0'
  # Minimum version of the Windows PowerShell host required by this module
  # PowerShellHostVersion = ''
  # Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
  # DotNetFrameworkVersion = ''
  CLRVersion            = '2.0.50727'
  ProcessorArchitecture = 'None'
  RequiredModules       = @()
  RequiredAssemblies    = @()
  ScriptsToProcess      = @()
  TypesToProcess        = @()
  FormatsToProcess      = @()
  CmdletsToExport       = '*'
  VariablesToExport     = '*'
  AliasesToExport       = '*'
  # DSC resources to export from this module
  # DscResourcesToExport = @()
  # 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. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
  PrivateData           = @{
    PSData = @{
      Tags         = @('Psmodule', 'PsImport', 'PowerShell')
      LicenseUri   = 'https://github.com/alainQtec/PsImport/blob/main/LICENSE'
      ProjectUri   = 'https://github.com/alainQtec/PsImport'
      # IconUri = ''
      ReleaseNotes = "
# Changelog

 
 
* Fixed import errors.
* Now returns FunctionDetails[]
 


***

# Install guide:

 
1. [Click here](https://github.com/alainQtec/PsImport/releases/download/v<versionToDeploy>/PsImport.zip) to download the *PsImport.zip* file attached to the release.
2. **If on Windows**: Right-click the downloaded zip, select Properties, then unblock the file.
    > _This is to prevent having to unblock each file individually after unzipping._
3. Unzip the archive.
4. (Optional) Place the module folder somewhere in your `PSModulePath`.
    > _You can view the paths listed by running the environment variable `$Env:PSModulePath`_
5. Import the module, using the full path to the PSD1 file in place of `PsImport` if the unzipped module folder is not in your `PSModulePath`:
    ```powershell
    # In Env:PSModulePath
    Import-Module PsImport
 
    # Otherwise, provide the path to the manifest:
    Import-Module -Path Path\to\PsImport\<versionToDeploy>\PsImport.psd1
    ```
"

    } # End of PSData hashtable
  } # End of PrivateData hashtable
  # HelpInfo URI of this module
  HelpInfoURI           = 'https://github.com/alainQtec/PsImport/Wiki'
  # Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
  # DefaultCommandPrefix = ''
}