The "great sword" was an evolution of the [longsword][1] (a two handed sword, no matter what Dungeons and Dragons tells us). 

> the weapon is most commonly depicted and taught with both hands on the hilt.  

It appears almost exclusively in Scotland and central Europe for a couple of centuries (after the Middle Ages!!) before dying out.

The greatsword was by no means a common weapon. Forget its effectiveness for a moment: metal has always been expensive, and quality swords were the weapon of nobility. A big sword would be even more expensive, and therefore only the wealthiest could afford such a weapon.

The wealthy also bought a little thing called "armor" (what we call "full plate" was also a Renaissance invention) that made a heavy shield unnecessary. [Indeed,][2]

>  It remained in use as a weapon of war intended for wielders wearing full plate armour  


However, any martial artist would laugh at "only range." Range is the deciding factor in a fight, all other things being equal. The greatsword remained a popular dueling weapon even after its effectiveness on the battlefield was eclipsed. The linked Wikipedia article goes into longsword fencing techniques in significant depth and should clarify the potency of this deadly weapon; what you call the "greatsword" is the same but more so. 

In combat, greatswords were the domain of [shock infantry][3]. This kind of soldier was used similarly to heavy cavalry: you run them into the enemy's weak point, breaking formations and letting the regular line of battle overrun the opposition. This specialized usage required the greatest reach and striking power available, at the cost of everything else. Notably, their main opponents - pikemen - [also didn't use shields][4] because they would be wielding loooong two handed pikes! They would be wearing exactly the same plate mail (though likely lower quality). 

[![pikeman poses ][5]][5]


  [1]: https://en.m.wikipedia.org/wiki/Longsword
  [2]: https://en.m.wikipedia.org/wiki/Longsword#evolution
  [3]: https://en.m.wikipedia.org/wiki/Doppels%C3%B6ldner
  [4]: https://acoup.blog/2019/05/03/collections-armor-in-order-part-ii/
  [5]: https://i.sstatic.net/GQNJb.jpg