[Windows Hyper-V-Server]Enable disable firewall rules under powershell / powershell下启用禁用防火墙规则
2021-06-08 20:06
标签:set rtu bsp hyperv class www compute start tar http://www.cryer.co.uk/brian/windows/hyper-v-server/help_computer_cannot_be_managed.htm Enable COM+ Network Access(DCOM-in) and all rules of Remote Event log Management to use Computer Management remotely: http://www.cryer.co.uk/brian/windows/hyper-v-server/help_disk_management_could_not_start_virtual_disk_service.htm TO use Disk management remotely: [Windows Hyper-V-Server]Enable disable firewall rules under powershell / powershell下启用禁用防火墙规则 标签:set rtu bsp hyperv class www compute start tar 原文地址:https://www.cnblogs.com/alfredsun/p/10681646.html#在HyperV主机上,执行下列命令/ do this on HyperV server:
netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new enable=yes
netsh advfirewall firewall set rule group="Remote Event Log Management" new enable=yes
#或者powershell下 / powershell
Set-NetFirewallRule -DisplayGroup ‘Windows Management Instrumentation (WMI)‘ -Enabled true -PassThru
Set-NetFirewallRule -DisplayGroup ‘Remote Event Log Management‘ -Enabled true -PassThru
#powershell on both HyperVserver and AD DS server:
netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes
文章标题:[Windows Hyper-V-Server]Enable disable firewall rules under powershell / powershell下启用禁用防火墙规则
文章链接:http://soscw.com/essay/92364.html