Home
About
Contact
Categories
Classic ASP (28 - Sub-Categories)
CSS (1 - Sub-Category)
JavaScript (5 - Sub-Categories)
Databases (22 - Sub-Categories)
ASP.NET (23 - Sub-Categories)
Delphi (5 - Sub-Categories)
Windows Server Core (3 - Sub-Categories)
VMWare (1 - Sub-Category)
Code Editing Tools (2 - Sub-Categories)
Linux (2 - Sub-Categories)
Dell Servers (15 - Sub-Categories)
Blog Entries
2025 (1 - Entry)
Bug Reports
(Bugs Fixed
New CFFCS Coding Source is still in Beta
Please report any errors to the [Contact] page. Thank you.
Classic ASP (28)
CSS (1)
JavaScript (5)
Databases (22)
ASP.NET (23)
Delphi (5)
Windows Server Core (3)
VMWare (1)
Code Editing Tools (2)
Linux (2)
Dell Servers (15)
Format SQL Script
Previous
Enable Firewall rules to allow remote connections to your Server Core
Current Code Entry
Go Back To Code List
[
PowerShell
]
Windows Server Core
PowerShell
Windows Server Core Installation Complete Code for PowerShell and Command Prompt
Format Your SQL Script
Windows Server Core Installation Complete Code for PowerShell and Command Prompt
Article Entry Date: October 20,2022 @ 07:16:11 / Last Updated On: October 21,2022 @ 05:39:38
Installing [
Windows Server Core
] to allow for [
Remote connections
] from [
Computer Management
] and [
IIS
] ([
Internet Information Servers
]) you will need to run some [
PowerShell
] and [
Command Prompt
] Scripts.
These scripts go along with the Full-Length Video located here.
The following scripts alone can be found below in the
Related
section.
Source Article for this script
Renaming Network Adapters and Teaming them together
«
Rename-NetAdapter -Name "Ethernet0" -NewName "NIC-1" Rename-NetAdapter -Name "Ethernet1" -NewName "NIC-2" Rename-NetAdapter -Name "Ethernet2" -NewName "NIC-3" Rename-NetAdapter -Name "Ethernet3" -NewName "NIC-4" new-NetLBFOTeam -Name "Team-VLCore-01" -TeamMembers "NIC-1", "NIC-2", "NIC-3", "NIC-4" -TeamingMode SwitchIndependent -LoadBalancingAlgorithm MacAddress
Source Article for this script
Enable Firewall rules to allow remote connections to your Server Core
«
Enable-NetFirewallRule -DisplayName "Windows Management Instrumentation (DCOM-In)" Enable-NetFirewallRule -DisplayGroup "Remote Event Log Management" Enable-NetFirewallRule -DisplayGroup "Remote Service Management" # This line does not seem to work independently, so the last line is needed. Enable-NetFirewallRule -DisplayGroup "Remote Volume Management" Enable-NetFirewallRule -DisplayGroup "Windows Firewall Remote Management" Enable-NetFirewallRule -DisplayGroup "Remote Scheduled Tasks Management" # Disk Management, without this line, we will not be able to administer our virtual disk on the server core. Get-NetFirewallRule -DisplayGroup "Remote Volume Management" | Set-NetFirewallRule -Enabled True
[
IIS
] ([
Internet Information Servers
])
(Run the following in order.)
CMD (Command Prompt)
Reg Add HKLM\Software\Microsoft\WebManagement\Server /V EnableRemoteManagement /T REG_DWORD /D 1
PowerShell
Enable-NetFirewallRule -DisplayName "World Wide Web Services (HTTP Traffic-In)"
CMD (Command Prompt)
net stop wmsvc net start wmsvc sc.exe config wmsvc start= auto1
Source Article for this script
SQL Server Core Installation Script
«
You must go to the above link to get the installation script.
Powershell New-NetFirewallRule -DisplayName "SQL Server" -Direction Inbound -Protocol TCP -LocalPort 1433 -Action allow New-NetFirewallRule -DisplayName "SQL Admin Connection" -Direction Inbound -Protocol TCP -LocalPort 1434 -Action allow New-NetFirewallRule -DisplayName "SQL Database Management" -Direction Inbound -Protocol UDP -LocalPort 1434 -Action allow New-NetFirewallRule -DisplayName "SQL Browser" -Direction Inbound -Protocol TCP -LocalPort 2382 -Action allow
Format Your SQL Script
Tags
Command Prompt Scripts
Remote connections
Installing Windows Server Core
Computer Management
Internet Information Servers
Windows Server Core to allow for Remote connections