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

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PsImport

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PsImport

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Alain Herve (c) 2024. All rights reserved.

Package Details

Author(s)

  • Alain Herve

Tags

Psmodule PsImport PowerShell

Functions

Get-Function

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

Version History

Version Downloads Last updated
0.1.2 (current version) 3 11/21/2024
0.1.1 33 2/20/2024
0.1.0 11 2/17/2024