Kind of an odd question.. We have about 70 locations that vpn into our corporate office and they each have a server or Win10 machine that has 2 nics in it. One nic has a routable gateway address on its stack the other, no gateway. It simply cannot be accessed from corporate network because there is no gateway on the 2nd nic.
Is there a way to run a central powershell script (from corp office) where it could use powershell on the remote machine to look for files in a share on a remote machine that sits on the network with the gateway-less nic?
I realize I can do this locally but Id prefer to centralize the script.
Id apologize for being a n00b here but I read the "read this first" post and it said dont apologize.. :)
To be clear:
Remote pc:
Nic 1= 172.19.22.55
subnet 255.255.255.0
gateway=172.19.22.14
nic 2= 10.5.60.12
subnet 255.255.255.0
...