You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Plaintext warning for cmdlets along with Set-ScheduledTask #12476
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.
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 RunAsdoesn'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
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.
Activity
sdwheeler commentedon Nov 3, 2025
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->PowerShellcategory.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.