Importing a module throw error

Alert me
|
Edit
|
Delete
|
Change type
Question
You cannot vote on your own post
0
I want to use archiving cmdlet. when I try to import a module, it throws error.

Import-Module -Name Microsoft.Powershell.Archive
Import-Module : The specified module ‘Microsoft.Powershell.Archive’ was not loaded because no valid module file was found in any module directory.
At line:1 char:1

  • Import-Module -Name Microsoft.Powershell.Archive
  •   + CategoryInfo          : ResourceUnavailable: (Microsoft.Powershell.Archive:String) [Import-Module], FileNotFoundException
      + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
    
    

thanks

Jason

Does your system match all prerequisits?

I want to use Cmdlets in Microsoft.Powershell.Archive to archive files. I get error when I try to import that module …