1

Closed

Pscx 2.1 beta on PowerShell 3 -- errors

description

Method invocation failed because [System.Management.Automation.TypeAccelerators] doesn't contain a method named
'AddReplace'.
At C:\Users\rogerl\Documents\WindowsPowerShell\Modules\pscx\Modules\Wmi\Pscx.Wmi.psm1:17 char:9
  • $acceleratorsType::AddReplace($name, $type)
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : InvalidOperation: (:) [], ParentContainsErrorRecordException
    • FullyQualifiedErrorId : MethodNotFound
       
      Import-Module : The specified module
      'C:\Users\rogerl\Documents\WindowsPowerShell\Modules\pscx\Modules\Wmi\Pscx.Wmi.psm1' was not loaded because no valid
      module file was found in any module directory.
      At C:\Users\rogerl\Documents\WindowsPowerShell\Modules\pscx\Pscx.psm1:197 char:4
  • Import-Module $path -DisableNameChecking
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : ResourceUnavailable: (C:\Users\rogerl...i\Pscx.Wmi.psm1:String) [Import-Module], FileNot
      FoundException
    • FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
Closed Oct 17, 2013 at 3:26 PM by r_keith_hill

comments

r_keith_hill wrote Jul 19, 2012 at 5:22 PM

This issue has been fixed on Trunk.