-
Notifications
You must be signed in to change notification settings - Fork 260
Closed
Labels
Description
Describe the issue
Flush-ContainerHelperCache command cannot be executed. As instructed, I run Import-module BcContainerHelper.
The Import-module BcVontainerHelper fails to find module in module directory.
Scripts used to create container and cause the issue
import-module BcContainerHelper
Full output of scripts
BcContainerHelper version 4.0.3
BcContainerHelper emits usage statistics telemetry to Microsoft
. : The term 'C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.3\Api\Get-NavContainerApiCompanyId.ps1' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.3\BcContainerHelper.psm1:333 char:3
+ . (Join-Path $PSScriptRoot "Api\Get-NavContainerApiCompanyId.ps1")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Program File...piCompanyId.ps1:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException
import-module : The module to process 'BcContainerHelper.psm1', listed in field 'ModuleToProcess/RootModule' of module manifest 'C:\Program
Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.3\BcContainerHelper.psd1' was not processed because no valid module was found in any module directory.
At line:1 char:1
+ import-module BcContainerHelper
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (BcContainerHelper:String) [Import-Module], PSInvalidOperationException
+ FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
Additional context
- worked until Thursday last week
