The turret prefers to use the more damaging missiles.
The turret prefers to target large, slow moving, nearby ships. This means that if you are flying a small ship at high speed at some distance away, there is a higher chance that the turret will skip you when it's time to decide whether or not to fire a missile at you. Below a certain speed threshold or within a certain range threshold, the turret will always fire a missile at you. So don't get too close and always keep moving.
Attackable turret will be included in the Target Closest Enemy (default TAB key), Target Next Enemy Starship or Space Station (default T key), and Target Previous Enemy Starship or Space Station (default SHIFT+T key) targeting commands.
The Chassis line in the space UI target information window will display the turret's % remaining hit points.
Neutrals can use the /spacerebelhelper and /spaceimperialhelper commands to become PvE factional helpers.
Atmospheric Flight Air <-> Ground PvE pt.2: