Import-Module ServerManager
Get-WindowsFeature | Where-Object {$_.InstallState -eq "Installed"}
Install-WindowsFeature -IncludeAllSubFeature User-Interface-Infra -Source C:\Path-to-mounted-source
netsh firewall set service remoteadmin enable ALL
netsh interface ipv4 set dnsservers "Local Area Connection" static 10.10.10.5 primary
Get-WindowsFeature | Where-Object {$_.InstallState -eq "Installed"}
Install-WindowsFeature -IncludeAllSubFeature User-Interface-Infra -Source C:\Path-to-mounted-source
netsh firewall set service remoteadmin enable ALL
netsh interface ipv4 set dnsservers "Local Area Connection" static 10.10.10.5 primary
Комментариев нет:
Отправить комментарий