mattmcnabb / OneLogin

A PowerShell module for automating components of a OneLogin account
7 stars 3 forks source link

Problem with default token #28

Closed mattmcnabb closed 8 years ago

mattmcnabb commented 8 years ago

The -SetAsDefault parameter of New-OneLoginToken does not work when the module is installed via the PSGallery. This is because the module name is determined by file path and when installed from the Gallery the parent folder path is the version number, not the name of the module. this is a dumb way to do it so looking for another way to get the module metadata from within the function.