Skip to content

Deprecate Passthru parameter on Get-WebFile PowerShell helper #2640

@AdmiringWorm

Description

@AdmiringWorm

Is Your Feature Request Related To A Problem? Please describe.

In version 0.9.10 the parameter Passthru was changed to a recommendation of not using it, and had been left due to backwards compatibility.
As this is recommended to not be used, we should deprecate its use and output a warning if it is used with a pending removal in the next major version.

Describe The Solution. Why is it needed?

It makes sense to deprecate anything that we do recommend to not be used, instead of purely leaving it as a comment.

Additional Context.

Link to DO NOT USE comment:

.PARAMETER PassThru
DO NOT USE - holdover from original function.

Related Issues

TODO: Add a link to an issue that will eventually remove this deprecation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - TriagingIssue is accepted, but a milestone has yet to be added for the issue.EnhancementIssues that introduce new functionality to the project, or enhances/updates existing functionality.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions