Skip to content

Powershell script not using latest Powershell version installed #5

@jim-edwards

Description

@jim-edwards

The HASS.agent appears to only be able to use the "system" powershell version. Calling functions that are available in newer versions of power-shell, even if in the system path, will not work and gives various syntax errors. Calling "pwsh <script>" inside the application produces an error saying "Set-PSReadLineOption: ", "The predictive suggestion feature cannot be enabled because the console output doesn't support virtual terminal".

It would be nice if we could select which powershell would be used, or some way to override the default system one.

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