1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
Method invocation failed because [System.__ComObject] does not contain a method named 'FileHash'.
At G:\DIVERS\MIG_ORCA\test.ps1:3 char:1
+ $record = $installer.FileHash($filePath, 0)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound
You cannot call a method on a null-valued expression.
At G:\DIVERS\MIG_ORCA\test.ps1:4 char:1
+ $fileHash = $record.StringData(1) + "`t"+ $record.StringData(2) + "`t"+ $record. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull |
Partager