Other than making some threaded 2" galvanized nipples in various lengths, not a whole lot. It's not often we have un-threaded pipe laying around to make stuff like that. Usually we just buy it all ready done. This is for water distribution system use on end of the line blow off pipes.
Picture