Skip to content

Feature Request: Optional PowerShell 7 Support on Windows #70

Description

@llswss-sketch

I would like to request an option to use PowerShell 7 as the execution engine on Windows instead of Windows PowerShell.

Ideally, this could be configured as an optional default or enabled on a per-script basis using a checkbox or similar setting.

This would make it possible to migrate existing scripts to PowerShell 7 and take advantage of modern PowerShell 7 modules while still preserving the existing logging and feedback mechanism.

var child = require('child_process').execFile(process.env['windir'] + '\system32\WindowsPowerShell\v1.0\powershell.exe', ['-NoLogo', '-NoProfile', '-ExecutionPolicy Bypass'] );

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