How did the Congress of Vienna try to bring about a balance of power in Europe?

Europe was upset by Napoleon and wanted to have a balance of power by other European nations to prevent something similar from happening again. Germany was not yet a united country. Russia wanted control of Poland. France originally was not invited by Tallyrand allied himself with Spain, Sweden, and Portugal. Austria was afraid that Russia would become too powerful with all of Poland so Britain, Austria and France signed a secret agreement to go to war against Russia and Prussia. So Russia did not get all of Poland, it got Warsaw and Finland. Prussia got 3/5 of Saxony and Posen, and the Rhineland. The Netherlands got what is now Belgium. Britain got Cape Colony in Africa. Italy was under two kings; the King of Sardinia had the Piedmont, Nice, Genoa, and Savoy; the King of Sicily had Naples.