brianaddicks / PowerAlto

Palo Alto powershell
poweralto.com
MIT License
39 stars 15 forks source link

Unable to find ipv4math module #5

Open shouptech opened 11 years ago

shouptech commented 11 years ago

The following error is generated when importing poweralto:

import-module -Global ipv4math import-module : The specified module 'ipv4math' was not loaded because no valid module file was found in any module directory. At line:1 char:1

  • import-module -Global ipv4math
  • 
    - CategoryInfo          : ResourceUnavailable: (ipv4math:String) [Import-Module], FileNotFoundException
    - FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

Is the ipv4math module a third party module that is a requirement?

sandersjds commented 11 years ago

The ipv4math module is all of the powershell functions from here dumped into a psm1. It looks like the original author actually released these same functions as a compiled psm1 (with some other tricks dropped in as well) as netshell.

Will likely get this corrected in the repo next week sometime.

zloeber commented 8 years ago

I was thinking of forking and fixing the dependency issues with this module. You don't happen to have the build script you used still around do ya?