Copy Permissions : Get-SpSite : Cannot find an SPSite object with Id or Url

I’m trying to fetch the groups, users and roles from a site collection a server to another site collection on another server. I’m trying to get the data using Powershell’s Get-SpSite <site url>

Unfortunately I’m unable to return the results while accessing the site collection residing on another server. I’m unsure if this is allowed or can be achieved.

enter image description here