Are you using Self Signed certificate in server and trying to hit the Unicorn Sync https URL to sync from difference machine via powershell? then we might end up with network exception on accessing on secure URL.
How to Resolve it
Its Very Simple, just add below line before making the API call.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12