Import all azure virtual network peering

Currently I have an azure virtual network that has ten peerings.
Is there an easier way to import these ten peerings?
Using the documentation script I would have to import peering by peering, and this in a future scenario will be unfeasible, as we plan to reach more than fifty peerings.