Archiv štítku: Windows Server Core

Server Core

Zobrazení skupin pravidel firewallu

Get-NetFirewallRule | Select DisplayGroup -Unique | Sort DisplayGroup

Vyfiltrování určité skupiny

Get-NetFirewallRule | Where { $_.DisplayGroup –Eq “Remote Volume Management”} | Format-Table

Povolení Volume Managementu

Enable-NetFirewallRule -name RVM-RPCSS-In-TCP,RVM-VDSLDR-In-TCP,RVM-VDS-In-TCP

povolit službu VDS

sc config vds start=auto

net start vds

na klientu

Enable-NetFirewallRule -name RVM-RPCSS-In-TCP,RVM-VDSLDR-In-TCP,RVM-VDS-In-TCP

Enable-NetFirewallRule -name RVM-RPCSS-In-TCP-NoScope,RVM-VDSLDR-In-TCP-NoScope,RVM-VDS-In-TCP-NoScope

SQL Server na Core

Setup.exe /UIMODE=EnableUIOnServerCore /ACTION=INSTALL

Je potřeba nainstalovat i Client Connectivity

Pak z SQLCMD:

EXEC sys.sp_configure N’remote access‘, N’1′

GO

RECONFIGURE WITH OVERRIDE

GO

Povolit browser

sc config SQLBROWSER start= auto

a spustit ho

net start SQLBROWSER

povolit firewall

netsh advfirewall firewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = 1433 remoteip = localsubnet profile = DOMAIN

Povolení EventLog Vieweru

enable-netfirewallrule –name RemoteEventLog*

Instalace web enrollu

install-windowsfeature adcs-web-enrollment

install-adcswebenrollment – strasne dulezite, bez toho to nefunguje!!!