*** Please add details and screenshots as needed below. ***
I am running PowerShell Studio 2018 version 5.5.154
I can connect to the remote server without any issues
I can list the SharePoint cmdlet get-spsite and it shows up
When I try and run get-spsite (see below) I receive an error on any SharePoint command.
I am the admin of the SharePoint 2016 server and the SQL server

[SERVERNAME]: PS C:\Users\Username\Documents> get-spsite
Cannot access the local farm. Verify that the local farm is properly configured, currently available, and that you have the appropriate permissions to access
the database before trying again.
+ CategoryInfo : InvalidData: (Microsoft.Share...SPCmdletGetSite:SPCmdletGetSite) [Get-SPSite], SPCmdletException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletGetSite

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

Why was this move from the PowerShell Studio forum to the Windows PowerShell forum.
I do not encounter this issue when using Windows powerShell. It occurs only whe I use Powershell studio 2018; therefore, it is a PowerShell Studio 2018 connectivity issue.

You cannot remotely execute many commands because of the "second hop" restriction. The error says that this is the cause as you are getting an error trying to connect to the farm. This is a limitation on all Windows remoting and is not caused by PSS.

"Cannot access the local farm"

This is because the farm is hosted on a remote server. The server you are remoting to cannot access the other servers from a remote connection.