Question [SOLVED] metadata file not found

Plus d'informations
il y a 2 ans 3 mois #31591 par Lannes-Lacrouts Guillaume
Bonjour, 
J'ai une erreur étrange sur un Win Server 2016 . Je ne le rencontre pas sur mon poste . C'est un serveur MDT et je voulais rappatrier automatiquement les drivers HP.
J'utilise donc la librairie HP Client management.

Seul souci j'ai : 
Add-Type : (0) : Metadata file 'System.IO.FileSystem.dll' could not be found
(1) : using System;
At C:\Program Files\WindowsPowerShell\Modules\Hp.firmware\HP.Firmware.SureAdmin.psm1:31 char:1
+ Add-Type -TypeDefinition @'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Power...peCompilerError:AddTypeCompilerError) [Add-Type], Except
   ion
    + FullyQualifiedErrorId : SOURCE_CODE_ERROR,Microsoft.PowerShell.Commands.AddTypeCommand

import-module : The module to process 'HP.Firmware.SureAdmin', listed in field 'NestedModules' of module manifest
'C:\Program Files\WindowsPowerShell\Modules\Hp.firmware\Hp.firmware.psd1' was not processed because no valid module
was found in any module directory.
At line:1 char:1
+ import-module Hp.firmware
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (Hp.firmware:String) [Import-Module], PSInvalidOperationException
    + FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

Pouvez-vous m'aider ? Ras sur Powershell 7 mais le script que je souhaite utiliser utilise des assembly pas compatible  PS7.

 

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 ans 3 mois #31592 par Lannes-Lacrouts Guillaume
J'ai installé .Net Framework 4.8  et cela fonctionne 

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.077 secondes
Propulsé par Kunena