I gather they serve mostly as aggressors and test aircraft - certainly one wouldn't fly that plane into combat. They were never ruinously expensive to operate. The SR-71 on the other hand...
The F117 is in active use as a stand-in/simulator for opposing force semi-stealthy subsonic cruise missiles for radar range testing. People see them flying all the time.
Little known fact (but not a secret): the F-117 is still flown today, even though they were "retired" in 2008.
https://www.youtube.com/watch?v=AZFwOGfhRZ8
I gather they serve mostly as aggressors and test aircraft - certainly one wouldn't fly that plane into combat. They were never ruinously expensive to operate. The SR-71 on the other hand...