[Windows Hyper-V-Server]Enable disable firewall rules under powershell / powershell下启用禁用防火墙规则

2021-06-08 20:06

阅读:426

标签: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:

#在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

 

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:

#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下启用禁用防火墙规则

标签:set   rtu   bsp   hyperv   class   www   compute   start   tar   

原文地址:https://www.cnblogs.com/alfredsun/p/10681646.html


评论


亲,登录后才可以留言!