How do I write a removal policy to remove workstations that haven't logged
into the network for x days?

I have looked through the Novell Knowledge base but can't find a TID
pointing me in the right direction

If it makes a difference we are on 6.5 with zenworks 6.5 and using a
sybase database

Thanks in advance