Skip to content

Unable to load into Visual Studio Code #6

@jstonebender

Description

@jstonebender

Please consider removing the host version limitation of 2.0. This is related to what IDE you are running regardless of the PowerShell version. VS code is host version 1.84 and will not load this module.

Error seen
'C:\Users....\WindowsPowerShell\Modules\kemp.loadbalancer.powershell\7.2.43.0\kemp.loadbalancer.powershell.psd1' requires a minimum Windows
PowerShell host version of '2.0' to run.

in the .PSD1...

Minimum version of the Windows PowerShell host required by this module

PowerShellHostVersion = '2.0'

I had to change this to get it to load in my scripts.
PowerShellHostVersion = ''

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions