Difference between revisions of "Initial configuration"
Jump to navigation
Jump to search
Michael.mast (talk | contribs) (Created page with "<ref>https://blogs.technet.microsoft.com/chadcox/2016/10/25/chads-quick-notes-installing-a-domain-controller-with-server-2016-core</ref>") |
Michael.mast (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | ==After installation== | ||
<ref>https://blogs.technet.microsoft.com/chadcox/2016/10/25/chads-quick-notes-installing-a-domain-controller-with-server-2016-core</ref> | <ref>https://blogs.technet.microsoft.com/chadcox/2016/10/25/chads-quick-notes-installing-a-domain-controller-with-server-2016-core</ref> | ||
+ | <pre> | ||
+ | powershell.exe | ||
+ | Sconfig.cmd | ||
+ | </pre> | ||
+ | |||
+ | ==Copy Files for whatever reason== | ||
+ | <ref>https://msdn.microsoft.com/en-us/library/mt708806(v=vs.85).aspx</ref>Using WinRM and Powershell sessions seems to be the easiest method for this. | ||
+ | <pre> | ||
+ | $session=get-pssession | ||
+ | copy-item -tosession $session -path c:\local\path -destination c:\remote\path -recurse | ||
+ | </pre> | ||
+ | ==Configure Firewall== | ||
+ | <ref>https://technet.microsoft.com/library/hh831755.aspx</ref> | ||
+ | <pre> | ||
+ | New-NetFirewallRule -DisplayName “Allow Inbound Telnet” -Direction Inbound -Program %SystemRoot%\System32\tlntsvr.exe -RemoteAddress LocalSubnet -Action Allow | ||
+ | </pre> |
Latest revision as of 16:15, 23 August 2017
After installation
powershell.exe Sconfig.cmd
Copy Files for whatever reason
[2]Using WinRM and Powershell sessions seems to be the easiest method for this.
$session=get-pssession copy-item -tosession $session -path c:\local\path -destination c:\remote\path -recurse
Configure Firewall
New-NetFirewallRule -DisplayName “Allow Inbound Telnet” -Direction Inbound -Program %SystemRoot%\System32\tlntsvr.exe -RemoteAddress LocalSubnet -Action Allow