I'm new to creating an external site, but between my client's IT guy and me, we managed to create and external site and we can access it by entering the ip address.
For example if
ip=22.214.171.124 the URL is then
I want to run powershell scripts on this site - but get error:
Get-SPSite: Cannot find an SPSite object with Id or URL http://126.96.36.199/External
So I assume I must change the ip rather to something else. Please guide me on how to do that? Or can I use the IP address in my Powershell commands, but then what cause the error?