Difference between revisions of "AD User Control using Powershell Docker on Linux"

From Michael's Information Zone
Jump to navigation Jump to search
(Created page with "<ref>https://www.howtogeek.com/117192/how-to-run-powershell-commands-on-remote-computers/</ref> <ref>http://techgenix.com/creating-active-directory-accounts-using-powershell/<...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<ref>https://www.howtogeek.com/117192/how-to-run-powershell-commands-on-remote-computers/</ref>
 
<ref>https://www.howtogeek.com/117192/how-to-run-powershell-commands-on-remote-computers/</ref>
 
<ref>http://techgenix.com/creating-active-directory-accounts-using-powershell/</ref>
 
<ref>http://techgenix.com/creating-active-directory-accounts-using-powershell/</ref>
 +
<ref>https://superuser.com/questions/1156138/allow-powershell-remoting-only-from-one-address</ref>
 +
<ref>https://msdn.microsoft.com/en-us/powershell/reference/5.1/microsoft.powershell.core/enable-psremoting</ref>
 +
==Server==
 +
This is run on the Windows server.
 +
Open powershell as admin
 +
<pre>
 +
enable-psremoting -force
 +
set-item wsman:\localhost\client\trustedhosts <ip or name to be trusted> -force
 +
 +
</pre>
 +
 +
==Client==
 +
This is on the Linux client that sends the commands to the server.

Latest revision as of 10:27, 15 May 2017

[1] [2] [3] [4]

Server

This is run on the Windows server. Open powershell as admin

enable-psremoting -force
set-item wsman:\localhost\client\trustedhosts <ip or name to be trusted> -force

Client

This is on the Linux client that sends the commands to the server.