A shaft being, e.g., flexible, that includes an elongated outer sheath, at least one drive shaft disposed within the outer sheath and a ring non-rotatably mounted on the at least one rotatable drive shaft and at least one light source mounted within the shaft, such that, upon rotation of the at least one rotatable drive shaft, the ring alternately blocks and allows light from the light source to be detected. The shaft may also include a moisture sensor disposed within the outer sheath of the shaft and configured to detect moisture within the outer sheath. The shaft may include couplings that connect a distal end of the outer sheath to a surgical attachment and a proximal end of the outer sheath to a remote power console.