PsImport
0.1.4
A module to import functions from PowerShell scripts in your project, and remote scripts making it easier to organize and reuse your code.
Minimum PowerShell version
3.0
Installation Options
Owners
Copyright
Alain Herve (c) 2024. All rights reserved.
Package Details
Author(s)
- Alain Herve
Tags
Dependencies
This module has no dependencies.
Release Notes
# 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
`
FileList
- PsImport.nuspec
- PsImport.psd1
- PsImport.psm1
- en-US\PsImport.strings.psd1
- Private\Get-GistContent.ps1
- Private\Resolve-FilePath.ps1
- Public\Get-Function.ps1
- LICENSE
Version History
Version | Downloads | Last updated |
---|---|---|
0.1.4 (current version) | 7 | 11/26/2024 |