Limited support
This feature is only present in Portal 2: Community Edition and Portal: Revolution.

sv_portal_turret_shoot_at_death

🟩 Executable on Server

sv_portal_turret_shoot_at_death <value>

If the turrets should shoot after they die.

Warning:

This is a cheat command and can only be used when sv_cheats is set to 1.