We consider the charged d-dimensional black holes in a cavity extended phase space and investigate heat engine Joule-Thomson (JT) expansion. Since structure of is similar to anti-de-sitter (AdS) cases, we take as working substance calculate their efficiency Carnot cycle rectangular cycle. Also, discuss whether JT expansion consistent with AdS cases conclude effect different boundary conditions ...