@Kiran Ala - Welcome to Microsoft Q&A and thanks for reaching out to us. You can use tags to achieve this. For example: tag all machines with specific OS, use that tag to create schedule.
Hope this helps. and please feel free to reach out if you have any further questions.
If the above response was helpful, please feel free to "Accept as Answer" and click "Yes" so it can be beneficial to the community.