How to create a wall?

Sorry, I don’t understand what the issue is rn. As above, you can rotate the extruded geometry like any geometry.

Example (these geometries are based on the same path that’s extruded in different directions. If you’d like to rotate them perfectly you can also create a pivot group around an extruded geometry to control the origin point of rotations.)

If you want to extrude lines - not shapes - it would be easier to work with points and just create geometries from them, since you don’t need to extrude anything at all then.