Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent Select-Object with ExpandProperty from updating source PSObjects #21328

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 11, 2024

  1. When both Extended Properties and Properties are specified

    Always copy the source object instead of referencing it.
    
    This ensures that the source object is never implicitly
    updated by the Select-Object command.
    
    PowerShell#21308
    BinaryWizard904 authored and BinaryWizard904 committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    7e5c7a3 View commit details
    Browse the repository at this point in the history