Steinville, Count von, Imperial General