PsImport
0.1.2
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
Functions
Dependencies
This module has no dependencies.
Release Notes
# Changelog
* 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
- LICENSE
- PsImport.psd1
- PsImport.psm1
- en-US\PsImport.strings.psd1
- Private\Get-GistContent.ps1
- Private\Resolve-FilePath.ps1
- Public\Get-Function.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
0.1.4 | 4 | 11/26/2024 |
0.1.3 | 5 | 11/22/2024 |
0.1.2 (current version) | 5 | 11/21/2024 |
0.1.1 | 33 | 2/20/2024 |
0.1.0 | 11 | 2/17/2024 |