Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. $env:PSModulePath = ($env:PSModulePath + ";" + (Join-Path $PSScriptRoot Powershell) + ";" + ((Get-Item "packages/tools/Powershell")[-1].FullName))
  2.  
  3. /root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/6/Modules;/src/Powershell;/src/packages/tools/Powershell
  4.  
  5. Import-Module MyModule
  6.  
  7. Import-Module : The specified module 'MyModule' was not loaded because no valid module file was found in any module directory.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement