Skip to content

Native argument passing on Windows default changes #9739

Closed

Description

Prerequisites

  • Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
  • Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Document new Get-Foo cmdlet" instead of "New cmdlet."

Summary

Change PowerShell/PowerShell#18706 adds a new PSWindowsNativeCommandArgPassing experimental feature. When this feature is enabled:

  • On Windows
    • $PSNativeCommandArgumentPassing = Windows
  • Non-Windows
    • $PSNativeCommandArgumentPassing = Standard

When this feature is disabled:

  • On Windows
    • $PSNativeCommandArgumentPassing = Legacy
  • Non-Windows
    • $PSNativeCommandArgumentPassing = Standard

Additionally, new telemetry metric will be added for native command execution to inform the mode being used.

Details

No response

Articles

No response

Related Source Pull Requests

Related Source Issues

Activity

  1. changed the title [-]Native Argument Passing with PR https://github.com/PowerShell/PowerShell/pull/18706[/-] [+]Native argument passing on Windows default changes[/+] on Jan 24, 2023
  2. floh96 commented on May 12, 2023

    @floh96
  3. sdwheeler commented on May 22, 2023

    @sdwheeler
    Contributor

    Summary is outdated see PowerShell/PowerShell#18706 (comment)

    Updated the description.

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

Metadata

Metadata

Labels

issue-doc-ideaIssue - request for new content

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions