So ..... first question on the community board. Hope it has never been asked

Here goes. Is there a way for me to remove computers that have an offline status of more then 1 year from my computer groups ? Or do I just have to sort them all by Status, do a select all and remove them ?