Skip to content

import-module PSDuo - Issues #8

@McFarTech

Description

@McFarTech

Hi.

I have downloaded the module and trying to use it. I am running Windows Server 2022

Any ideas?

PS C:\Windows\system32> import-module PSDuo
import-module : The module manifest 'C:\Users\Some-Account\Documents\WindowsPowerShell\Modules\PSDuo\PSDuo.psd1'
could not be processed because it is not a valid Windows PowerShell restricted language file. Remove the elements that
are not permitted by the restricted language:
At C:\Users\Some-Account\Documents\WindowsPowerShell\Modules\PSDuo\PSDuo.psd1:68 char:36

  • FunctionsToExport = @(Get-DuoConfig, Get-DuoGroup, Get-DuoPhone, Get- ...
  •                                ~
    

Missing argument in parameter list.
At line:1 char:1

  • import-module PSDuo
  •   + CategoryInfo          : ResourceUnavailable: (C:\Users\Somet...SDuo\PSDuo.psd1:String) [Import-Module], Missing
     MemberException
      + FullyQualifiedErrorId : Modules_InvalidManifest,Microsoft.PowerShell.Commands.ImportModuleCommand
    

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