Skip to content

Instantly share code, notes, and snippets.

@hanna-cirilla
Created March 16, 2020 10:25
Show Gist options
  • Select an option

  • Save hanna-cirilla/5d0ed416b7f8a2ccbfa5e2a0fdd5f497 to your computer and use it in GitHub Desktop.

Select an option

Save hanna-cirilla/5d0ed416b7f8a2ccbfa5e2a0fdd5f497 to your computer and use it in GitHub Desktop.
Import PowerShell module without polluting environment
$name = psake
Save-Module -Name $name -Path .
Import-Module -Name .\$name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment