I'm trying to use PowerShell to upload some local files to a SharePoint document library that's behind a UAG (MS's Unified Access Gateway). I've got code that I've used before to do this with non-UAG protected sites so I know that the code works but when I feed it the UAG https URL it tells me:
Get-SPWeb : Cannot find an SPSite object that contains the following Id or Url
Is there something special I need to do in PowerShell to the connect to complete?