Skip to content

Error Importing Module #9

Description

@jorgejaque

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions