To extrude an element against an imaginary plane through two points
Select the Extrude Element to Shape(s) tool.
Set Top to Connect 2pts/View.
Enter two points to define an imaginary line. An imaginary plane is created through both points and perpendicular to the view where the last point was entered.