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

Error Importing Module #9

Open
jorgejaque opened this issue Dec 13, 2017 · 1 comment
Open

Error Importing Module #9

jorgejaque opened this issue Dec 13, 2017 · 1 comment

Comments

@jorgejaque
Copy link

Hi there... Please let me know what I'm doing wrong. I do appreciate your help!

PS C:\Tools\LyncSniper-master> Import-Module .\LyncSniper.ps1
Add-Type : c:\Tools\LyncSniper-master\Tunable-SSL-Validator\TunableValidator.cs
(29) : Default parameter specifiers are not permitted
c:\Tools\LyncSniper-master\Tunable-SSL-Validator\TunableValidator.cs(28) :
c:\Tools\LyncSniper-master\Tunable-SSL-Validator\TunableValidator.cs(29) : >>>
public static void SetValidator(bool ignoreChainErrors = false, Hashtable
trustedCerts = null, bool showConsoleStandardOutput = true)
c:\Tools\LyncSniper-master\Tunable-SSL-Validator\TunableValidator.cs(30) :
{
At C:\Tools\LyncSniper-master\Tunable-SSL-Validator\TunableSSLValidator.psm1:1
char:9

  • Add-Type <<<< -Path "${PSScriptRoot}\TunableValidator.cs"
    • CategoryInfo : InvalidData: (c:\Tools\LyncSn...e not permitted:
      CompilerError) [Add-Type], Exception
    • FullyQualifiedErrorId : SOURCE_CODE_ERROR,Microsoft.PowerShell.Commands.
      AddTypeCommand
@Raikia
Copy link
Contributor

Raikia commented Mar 7, 2018

Make sure you are doing:

git clone --recursive https://github.com/mdsecresearch/LyncSniper.git

Paste a screenshot if you can with the error you are getting.

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