Server 2016 And 2012 R2 Remote PowerShell And PowerShell Web Access
Server 2016 and 2012 R2 Remote PowerShell and PowerShell Web Access
When managing remote computers having remote PowerShell (a way that PowerShell logs in remotely) and/or PowerShell Web Access (a way to use powershell on a remote computer using a browser).
This video shows how to log in using PowerShell the remote way and also how to setup the web access and then use it.
For more visit:
Transcript (machine generated so it contains errors)
Hello today were another show you how to use PowerShell in a remote scenario. So basically you can from here remote into another computer elsewhere in PowerShell prompt and basically use PowerShell on that computer to configure the computer seminar do maintenance, et cetera basically, the sky’s the limit was possible. I get so very simply. Here we do we open our monad main PowerShell prompt service and 16 okay task type in PowerShell’s quicker that way, and then right click and then run as administrator okay then we need to run this command. Enter – PS session again on the server name or the computer name that were trying to access and then – credential and the account username that you want logged again this case and said administrator okay, you can see it’s now change. We are now in the remote computer and were running PowerShell on it. Okay, as an example. IP: St A. There we go, we can see the IP address of the computer. Okay, and were logged in, they are now. Now if we want to see what feature is we can install or what’s already there. Get windows feature okay now we can the features you want to. In this case, let’s add the windows PowerShell web access sold that’ll now subtab the service are that the computer. Okay, so all we need to do is type in this long command install – windows feature – name and its windows PowerShell web access. We also want to include the management tools – include management tools and – restart if required. Okay, we press enter, and that should take some time. Okay, now how it works. When we logon using a browser. For example, Internet Explorer or over a year. We have our edge against a still the problem as it doesn’t run in admin mode. However, we need to set up a SSL certificate on the Web server so by doing that we type and install – PSW a web application and that is – use test certificate. I get Armed that computer already has a test certificate setup. So that’s fine. Okay. However, if it wasn’t you have had to run that okay, now we just okay, now we need to basically give a damn authorisation rules okay what computers can access it which usernames can access it. In this case it in a secure way. However, it’s a very quick way again to add – PSW a authorisation rule – ComputerName now you obviously Wanna specify which computers, rather than start. There are strict okay which is saying all and then – username once again start all and then – consideration name star again, you might be more specific, like for example on the server. 005 has access only the administrator has access, so that’s that, let’s first take the okay credit the rule. Okay, now all we need to do is go to Internet Explorer. Okay, so now all we need to do is in our favourite browser. Okay, go to this URL. Okay, which is basically HTTPS okay and then aged the computer name, and in/PSW way. Simple as that. Nothing major and I will bring us to this page. Okay, all you need to do then is type in what username you want to be logged on as a caregiver password. Okay, and were logging on to server 05 icates signing okay and were now on that computer. You know, so it’s just the same as this. As you can see everything the same, so we have now shown you two ways of basically getting access to a remote computer and using PowerShell on that computer. Hopefully this help. Thank you for watching