Manage SharePoint 2013 with PowerShell Web Access

I’ve been using PowerShell for quite a while now, as you may have gathered from some of my previous posts. 🙂 However, I have yet to really dig into PowerShell Web Access (PSWA) with Windows Server 2012. That is, until today.

I have been slowly getting my VM environment up to par on my new Focal Point Solutions laptop, and the last piece that I was hoping to try was PSWA with SP2013. I assumed this would work, but in a few Google searches I had yet to find anyone who had shown any screenshots of this working – so I decided to be that guy.

In the screenshots below, I am running PSWA from Google Chrome on my host (Windows 8) – connecting to a VM running on my local Hyper-V instance. The VM is SP2013 connected to another VM for a domain controller. I’ve got Hyper-V networking set up so that all of my VMs have 10.x.x.x IP addresses and I can access them from my host without issues. For PSWA, I went with the “test” setup by following the instructions here. That is, i am using a test certificate and I am not using the kind of security i would certainly use for a Production environment. It’s my Virtual environment, sue me…

In any case, i literally followed the Technet instructions to get PSWA installed and configured – and then I opened up my browser and entered the URL of http://servername/PSWA and voila – I get a login prompt:


Okay that’s cool, so I entered my domain\spfarm account and password and the server name and then i was able to sign in…

Now for the fun I started typing a few things and as you can see, I’m able to access not only the $Host itself (which interestingly enough is v1, not v3) but by adding the Microsoft.SharePoint.PowerShell snapin I can then run my SharePoint Cmdlets like Get-SPFarm and Get-SPSite.


How sweet is that?



6 thoughts on “Manage SharePoint 2013 with PowerShell Web Access

  1. rpdurkin

    Very sexy Ryan. I have one question. How did you get the SharePoint snap-in on that machine? Does it have SharePoint installed? It’s kind of a loaded question, I’m thinking about standing up a 2012 management box that will serve the PSWA site and along with that I imagine I’ll have to load a good number of management tools to get access to the PSSnapins.

    • Ryan Dennis

      Thanks Bob! Yes, SharePoint Server 2013 is installed on the target machine. For your scenario, I would imagine you could use PSRemoting to connect to a SharePoint box and then reference the SP Cmdlets. Just a guess though, I’ve not tried it. 🙂

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s