我尝试通过powershell实现预定义的入站规则Windows Management Instrumentation(WMI)。我试过了
netsh advfirewall set service RemoteAdmin enable
netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=yes
但是看不到本地组策略编辑器中反映的这些更改。有没有尝试过这样或类似的东西?