Dell XPS 15 W10
Yes.
It's a network of a company.
2 small buildings.
Yes.
While not trying to discourage you, this is a bigger task that you may realize. For a reliable connection, you need both ends of the network to use directional antennas, pointed at each other, direct line of site is needed. That means getting the antennas high enough to clear obstructions, like buildings.
You could be spending several hundreds of dollars to make this work. If that is acceptable, Ubiquiti makes products designed for such purposes. Also, it is not just a matter of connecting one of these to a laptop and it works:
The LiteBeam 5AC Long Range is an affordable airMAX AC CPE designed for long-distance links. Reach new customers and still maintain your great ROI. Features: Improved Radio Design Improved Mounting Improved Surge Protection Management WiFi Radio/UISP mobile app AirOS 8 UISP mobile app for...
www.ui.com
There are DIY projects to self build long range devices, such as:
https://www.youtube.com/playlist?list=PLzRg4rEfW1J21IwIQ1J7P7V3ekvEBoT3V
But you still need to do things on both ends of the network for this to work as desired.
I get the impression that connecting to the other end of the network offers you limited access to their hardware, if any access at all (like connecting to a company's public network). If this is the case, none of these solutions are going to work properly and you could also be violating terms of service of the connected network or even have legal implications.
If that isn't the situation, I'll leave this here for others to consider for their circumstances.