Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import module powerpreter #78

Open
ampf27 opened this issue Nov 12, 2019 · 1 comment
Open

import module powerpreter #78

ampf27 opened this issue Nov 12, 2019 · 1 comment

Comments

@ampf27
Copy link

ampf27 commented Nov 12, 2019

Im trying to import powerpreter from the file directory with Import-Module .\Powerpreter.psm1 but I get the error

At C:\users\desktop\desktop\nishang-master\powerpreter\Powerpreter.psm1:1 char:1

  • <#
  • ~~
    This script contains malicious content and has been blocked by your antivirus software.
    • CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
    • FullyQualifiedErrorId : ScriptContainedMaliciousContent

Import-Module : The specified module '.\Powerpreter.psm1' was not loaded because no valid module file was found in any module directory.
At line:1 char:1

  • Import-Module .\Powerpreter.psm1
  •   + CategoryInfo          : ResourceUnavailable: (.\Powerpreter.psm1:String) [Import-Module], FileNotFoundException
      + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
    
    
    
    
    

Im running as administrator and execution policy unrestricted and I have turned off AV

What can I be doing wrong?

Thanks

@samratashok
Copy link
Owner

Looks like AV blocking it. Please verify if the AV is actually turned off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants