In many cases you need to work with resources (files, scales, card readers etc.), which are available on local network/PC, from within Microsoft Dynamics 365 Business Central which runs somewhere in the Cloud. I will show you one way how to solve these things.
Another blog about Microsoft Dynamics 365 Business Central (AL, Powershell, Azure DevOps etc.)