Talk to Father to get this quest. No matter how you dissuade him from leaving the Railroad alone, he'll force you to go through this mission as an order. Fast-travel to Railroad HQ and kill everyone. If you're allied with them, they won't attack you on sight even if you have orders to kill Desdemona. Once you eliminate all key Railroad characters, the quest will be complete.