Skip to content

Plaintext warning for cmdlets along with Set-ScheduledTask #12476

Closed

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

Windows PowerShell cmdlet documents don't have the feedback links as the PowerShell core cmdlets have.

PowerShell feedback

PowerShell is an open source project. Select a link to provide feedback:

Open a documentation issue
Provide product feedback

Similar to Windows PowerShell programming issues, Microsoft appears not the be concerned.
But as there isn't a clear exclusion for launching an issue on these Windows PowerShell documents, I would like to try to see where this ends... 🥺

Summary

With regards, to the cmdlets along with Set-ScheduledTask, I think that 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 is place in a cmdlet document as Send-MailMessage

See also PowerShell issues: #16502 and #26366

Details

No response

Suggested Fix

No response

Activity

  1. added
    issue-doc-bug
    needs-triage
    on Nov 3, 2025
  2. added
    resolution-external
    and removed
    issue-doc-bug
    needs-triage
    on Nov 3, 2025
  3. sdwheeler commented on Nov 3, 2025

    @sdwheeler
    Contributor

    iRon7
    The ScheduledTasks module is not maintained by the PowerShell team. It is maintained by a team in the Windows organization. For modules that ship in Windows, use the Windows Feedback Hub. For more information, see Send feedback to Microsoft with the Feedback Hub app. Select the Apps -> PowerShell category.

    That documentation is not maintained in this repository or by this team. The source of that document can be found at: https://github.com/MicrosoftDocs/windows-powershell-docs/blob/main/docset/winserver2025-ps/ScheduledTasks/Set-ScheduledTask.md. You can file an Issue in that repo or submit a PR.

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

    resolution-external

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions