Server 2016 and 2012 R2 Remote PowerShell and PowerShell Web Access Video Tutorial

Server 2016 and 2012 R2 Remote PowerShell and PowerShell Web Access Video Tutorial

  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.  
Transcript (machine generated so it contains errors)
1. 00:00:00:07 / 00:00:07:50 - hello today we're gonna show you how to
2. 00:00:03:85 / 00:00:10:94 - use PowerShell in a remote scenario so
3. 00:00:07:50 / 00:00:13:71 - basically you can from here remote into
4. 00:00:10:93 / 00:00:15:95 - another computer elsewhere in a
5. 00:00:13:71 / 00:00:18:53 - PowerShell prompt and basically use
6. 00:00:15:96 / 00:00:21:43 - PowerShell on that computer to configure
7. 00:00:18:53 / 00:00:24:63 - that computer setup to maintenance etc
8. 00:00:21:43 / 00:00:28:43 - basically the sky's the limit what's
9. 00:00:24:62 / 00:00:32:18 - possible okay so very simply here we do
10. 00:00:28:43 / 00:00:36:27 - we open up an admin PowerShell prompt
11. 00:00:32:18 / 00:00:38:46 - this is Server 2016 okay just type in
12. 00:00:36:27 / 00:00:41:10 - PowerShell it's quicker that way and
13. 00:00:38:46 / 00:00:45:03 - then right-click and then run as
14. 00:00:41:10 / 00:00:51:89 - administrator yeah okay then we need to
15. 00:00:45:03 / 00:00:54:44 - run this command enter - PS session okay
16. 00:00:51:89 / 00:00:57:32 - and then the server name or the computer
17. 00:00:54:44 / 00:01:01:22 - name that were trying to access and then
18. 00:00:57:32 / 00:01:04:07 - - credential and account username that
19. 00:01:01:22 / 00:01:09:23 - you'd want to logon us ok in this case
20. 00:01:04:07 / 00:01:12:09 - we've said administrator ok and as you
21. 00:01:09:23 / 00:01:14:09 - can see it's now change we are now in
22. 00:01:12:09 / 00:01:16:90 - the remote computer and we're running
23. 00:01:14:09 / 00:01:19:91 - PowerShell on it ok as an example IP
24. 00:01:16:90 / 00:01:22:79 - config ok
25. 00:01:19:92 / 00:01:24:42 - there we go we can see the IP address of
26. 00:01:22:79 / 00:01:28:04 - that computer ok
27. 00:01:24:42 / 00:01:31:85 - and we're logged in there now now if we
28. 00:01:28:04 / 00:01:34:02 - want to see what features we can install
29. 00:01:31:85 / 00:01:39:86 - or what's already there yet windows
30. 00:01:34:01 / 00:01:43:90 - feature ok now we can add a feature if
31. 00:01:39:86 / 00:01:47:36 - we want to in this case let's add this
32. 00:01:43:90 / 00:01:51:21 - windows powershell web access so that
33. 00:01:47:36 / 00:01:55:10 - will now set up the service on the other
34. 00:01:51:20 / 00:01:57:44 - computer ok so all we need to do is type
35. 00:01:55:10 / 00:02:00:03 - in this long command install - windows
36. 00:01:57:45 / 00:02:02:75 - feature - name and this windows
37. 00:02:00:03 / 00:02:04:46 - powershell web access we also want to
38. 00:02:02:75 / 00:02:07:85 - include the management tools so -
39. 00:02:04:46 / 00:02:10:32 - include management tools and - restart
40. 00:02:07:85 / 00:02:14:08 - if required ok
41. 00:02:10:33 / 00:02:20:35 - we press ENTER and that should take some
42. 00:02:14:08 / 00:02:23:86 - time okay now how it works when we log
43. 00:02:20:34 / 00:02:27:40 - on using a browser for example if an
44. 00:02:23:86 / 00:02:31:48 - explorer or over here we have our edge
45. 00:02:27:40 / 00:02:35:62 - okay it's the bit of a problem as it
46. 00:02:31:47 / 00:02:41:22 - doesn't run in admin mode however we
47. 00:02:35:62 / 00:02:44:56 - need to set up a SSL certificate on that
48. 00:02:41:22 / 00:02:49:17 - web server now so by doing that we type
49. 00:02:44:56 / 00:02:54:36 - in installed PSW a web application and
50. 00:02:49:18 / 00:02:54:36 - then it's - use test certificate okay
51. 00:02:54:50 / 00:02:59:10 - all right okay
52. 00:02:57:28 / 00:03:02:56 - that computer already has a test
53. 00:02:59:11 / 00:03:05:89 - certificate set up so that's fine okay
54. 00:03:02:56 / 00:03:10:39 - however if it wasn't you would have had
55. 00:03:05:88 / 00:03:14:31 - to run that okay now we just okay now we
56. 00:03:10:38 / 00:03:16:75 - need to basically give it authorized
57. 00:03:14:31 / 00:03:19:20 - ation rules okay what computers can
58. 00:03:16:75 / 00:03:22:23 - access it which user names can access it
59. 00:03:19:20 / 00:03:25:77 - in this case it's on a secure way
60. 00:03:22:23 / 00:03:29:92 - however it's a very quick way okay a -
61. 00:03:25:77 / 00:03:31:54 - PSW a authorization rule - computer name
62. 00:03:29:91 / 00:03:33:72 - now you'd obviously want to specify
63. 00:03:31:53 / 00:03:35:85 - which computers rather than star the
64. 00:03:33:72 / 00:03:39:63 - asterisk okay which is base is saying
65. 00:03:35:86 / 00:03:43:60 - all and then - user name once again star
66. 00:03:39:63 / 00:03:45:42 - all and then - configuration name star
67. 00:03:43:59 / 00:03:48:34 - again you'd want to be more specific
68. 00:03:45:43 / 00:03:51:25 - like for example only server zero zero
69. 00:03:48:34 / 00:03:55:87 - five has access only the administrator
70. 00:03:51:25 / 00:03:59:73 - has access okay so that's that let's
71. 00:03:55:87 / 00:04:03:67 - just type that in okay it's created the
72. 00:03:59:73 / 00:04:08:83 - rule okay now all we need to do is go to
73. 00:04:03:66 / 00:04:11:58 - internet explorer okay so now all we
74. 00:04:08:83 / 00:04:18:63 - need to do is in our favorite browser
75. 00:04:11:59 / 00:04:22:60 - okay go to this URL okay which is
76. 00:04:18:63 / 00:04:23:77 - basically HTTP okay and then it's the
77. 00:04:22:60 / 00:04:27:87 - computer name and
78. 00:04:23:77 / 00:04:28:88 - /ps w a simple as that nothing major
79. 00:04:27:87 / 00:04:31:68 - okay
80. 00:04:28:88 / 00:04:37:40 - and that'll bring us to this page okay
81. 00:04:31:68 / 00:04:40:07 - all you need to do then is type in what
82. 00:04:37:40 / 00:04:45:83 - username you want to be logging on us
83. 00:04:40:07 / 00:04:49:31 - okay give a password okay and we're
84. 00:04:45:83 / 00:04:52:85 - logging on to server zero zero five okay
85. 00:04:49:31 / 00:04:57:09 - sign in okay there we go and we're now
86. 00:04:52:86 / 00:04:59:49 - on that computer you know so it's just
87. 00:04:57:08 / 00:05:00:71 - the same as this as you can see
88. 00:04:59:49 / 00:05:03:68 - everything the same
89. 00:05:00:71 / 00:05:07:94 - so we've now shown you two ways of
90. 00:05:03:68 / 00:05:10:65 - basically getting access to a remote
91. 00:05:07:94 / 00:05:13:11 - computer and using PowerShell on that
92. 00:05:10:64 / 00:05:15:70 - computer hopefully this is help thank
93. 00:05:13:11 / 00:05:15:71 - you for watching
Visit our YouTube channel: https://www.youtube.com/channel/UCFj1BHYIUYfPWPb1Xn5qFIg