How to mark devices as expired

Had to git clone in order to find this code.