I am running CSOM code in PowerShell to access data of SharePoint 2013 sites. I am adding below lines to load the DLLs in my machine. These lines expect these DLLs to be present in this location.
Add-Type –Path "C:\Microsoft.SharePoint.Client.dll" Add-Type –Path "C:\Microsoft.SharePoint.Client.Runtime.dll"
If i have to run the same script from other server, how i can ensure these DLLs will be present in that location as we cant download and save these in C:\ path every time. Is there any way that these will be accessed from some CDN or online link?