Code to perform a node discover on command.