Create device based Azure AD group with OS and Version using powershell
This powershell script will help you to create Azure AD group based on OSType and OSVersion for intune. This is useful if you want to create any intune profiles or configurations for devices that dont meet specific OS criteria. You can make use of dynamic membership rules (https