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

[Doc]: New-AzAutomationSchedule doc doesn't mention that it'll update an existing Schedule even though it will #27075

Open
ChrisLGardner opened this issue Feb 5, 2025 · 0 comments
Labels
customer-reported needs-triage This is a new issue that needs to be triaged to the appropriate team.

Comments

@ChrisLGardner
Copy link

Type of issue

Missing information

Feedback

In both the Synopsis and Description of the cmdlet it states it'll create an Automation Schedule but the API it calls will create or update a schedule. This extra clarity on the cmdlet is important because the Set cmdlet will only let you change 2 properties (Description and IsEnabled) which may cause confusion for how a user is supposed to update all the other properties of a schedule without having to delete it and create it new (along with having to unregister and register it from any runbooks it's linked to).

To ensure the cmdlet would actually update an existing Schedule I had to check the API docs for schedules and then check the code for the command to ensure it was calling the expected endpoint. I could have tested it by just running it but wanted to be sure first. Either of these could have been prevented by the doc just telling me it'd create or update the schedule.

Page URL

https://learn.microsoft.com/en-us/powershell/module/az.automation/new-azautomationschedule?view=azps-13.1.0

Content source URL

https://github.com/Azure/azure-powershell/blob/main/src/Automation/Automation/help/New-AzAutomationSchedule.md

Author

@mikefrobbins

Document Id

779aca64-73fc-2ffa-44ea-6839fddd1a7e

@ChrisLGardner ChrisLGardner added the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported needs-triage This is a new issue that needs to be triaged to the appropriate team.
Projects
None yet
Development

No branches or pull requests

1 participant