Unable to load the module (installed from PSGallery)
I am troubleshooting but I am seeing this on two different machines. Whether I am trying to run one of the CMDlets or Import-Module errors are similar
Update-FormatData : Cannot find path 'C:\Program Files\WindowsPowerShell\Modules\psazuredevops\0.3.0\formats' because it does not exist.
import-module : The module to process 'PsAzureDevOps.psm1', listed in field 'ModuleToProcess/RootModule' of module manifest 'C:\Program Files\WindowsPowerShell\Modules\psazuredevops\0.3.0\psazuredevops.psd1' was not processed because no valid module was found in any module directory. At line:1 char:1
- import-module psazuredevops -verbose -force
-
+ CategoryInfo : ResourceUnavailable: (psazuredevops:String) [Import-Module], PSInvalidOperationException + FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
At C:\Program Files\WindowsPowerShell\Modules\psazuredevops\0.3.0\PsAzureDevOps.psm1:20 char:1
- Update-FormatData -PrependPath "$moduleRoot\formats*.ps1xml"`
-
+ CategoryInfo : InvalidOperation: (C:\Program File...ormats\*.ps1xml:String) [Update-FormatData], ItemNo tFoundException + FullyQualifiedErrorId : FormatPrependPathException,Microsoft.PowerShell.Commands.UpdateFormatDataCommand
Thanks for posting, I will investigate
@jkavanagh58 I published 0.3.1, please test out and let me know if you hit any other issues