For this deployment I am using Windows Server 2012 R2, In earlier article I installed and configured Powershell Web access using GUI. This role can be install simply by running 3 simple powershell cmdlet. I will be running first command to install Windows Powershell web access feature, this feature also requires IIS web server, and it will get installed with additional parameter -includeManagementTools (all the required tools will also get installed).
Install-WindowsFeature –Name WindowsPowerShellWebAccess -IncludeManagementTools
Next command configure IIS server, It creates Application Pool, configure Web application, creates Self-singed certificate and https binding in one shot. With additional parameter -UseTestCertificate, It deploy self-signed certificate. This is a best practice to use valid certificate later and with this You don't to spend more time configuring anything on GUI as like earlier article, but it is still worth reading to know what is happening in background.
This is final command and it will add authorization rule for any user can login to any computer.
Add-PswaAuthorizationRule -UserName * -ComputerName * -ConfigurationName *
Now, Its time to test it on mobile phone, I opened link in chrome browser on my Android mobile, Below are the supported minimum browser list.
Windows Phone 7 and 7.5
Google Android WebKit 3.1 Browser Android 2.2.1 (Kernel 2.6)
Apple Safari for iPhone operating system 5.0.1
Apple Safari for iPad 2 operating system 5.0.1
To use the Windows PowerShell Web Access web-based console, browsers must do the following.
Allow cookies from the Windows PowerShell Web Access gateway website.
Be able to open and read HTTPS pages.
As I am using self signed certificate I will ignore the warning and proceed, after providing credential, computer name, I can execute command, in below screen I have logged into my active directory and fetching user details, One of the use case I have seen here is reset password.
I have created one video tutorial on same subject, I hope you will like it.