dataplat / dbatools

🚀 SQL Server automation and instance migrations have never been safer, faster or freer
https://dbatools.io
MIT License
2.44k stars 796 forks source link

fix: Set-DbaAgentSchedule should check for not null on enddate #9257

Closed lowlydba closed 7 months ago

lowlydba commented 7 months ago

Please read -- recent changes to our repo

On November 10, 2022, we removed some bloat from our repository (for the second and final time). This change requires that all contributors reclone or refork their repo.

PRs from repos that have not been recently reforked or recloned will be closed and @potatoqualitee will cherry-pick your commits and open a new PR with your changes.

Type of Change

Purpose

Fix a bug for a value check

Approach

Use the approach for similar other checks in the file.

Commands to test

Set-DbaAgentSchedule

Screenshots

Learning

potatoqualitee commented 7 months ago

great fix! thank you