Importing a module throw error

This topic contains 1 reply, has 2 voices, and was last updated by  Olaf Soyk 2 weeks, 6 days ago.

  • Author
    Posts
  • #83179

    jason smith
    Participant

    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

  • #83180

    Olaf Soyk
    Participant

You must be logged in to reply to this topic.