Skip to content

Plaintext Password parameter warning for cmdlets along with Set-ScheduledTask #4051

@iRon7

Description

@iRon7

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, "Typo in Get-Foo cmdlet" instead of "Typo."
  • Verify Version: If there is a mismatch between documentation and the behavior on your system, ensure that the version you are using is the same as the documentation. Check this box if they match or the issue you are reporting is not version specific.

Links

Summary

Cmdlet documents along with Set-ScheduledTask, should include a warning that it is not safe to handle plaintext passwords in scripts for the same reason that the legacy executable RunAs doesn't support providing a password via the command line and also knowing that even handling passwords with a SecureString in a script is already considered unsecure and a warning for that does exist for a cmdlet document as Send-MailMessage

See also PowerShell issues: #16502 and #26366

Details

No response

Suggested Fix

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue-doc-bugSomething is out of date, unclear, confusing, or broken in the article. Blocks customer success.needs-triageWaiting - Needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions