查看防火墙状态是否可以通过Powershell实现

Windows Powershell程序是很多人喜好的东西 , 该东西功能壮大、并且具有很强的可扩展性 。

需要这些哦
Windows Powershell
电脑
方式/
1打开Windows Powershell程序窗口;

查看防火墙状态是否可以通过Powershell实现



2【查看防火墙状态是否可以通过Powershell实现】在Powershell程序窗口中输入 netsh  ;

查看防火墙状态是否可以通过Powershell实现



3指明要查询的信息 advfirewall ;

查看防火墙状态是否可以通过Powershell实现



4再输入查看指令 show ;

查看防火墙状态是否可以通过Powershell实现



5指明要返回的信息 currentprofile ;

查看防火墙状态是否可以通过Powershell实现



6点击回车后 , 号令行主动执行完当作;

查看防火墙状态是否可以通过Powershell实现



7在返回指令中 , 我们可以查看防火墙策略、防火墙日记状况等信息 。

查看防火墙状态是否可以通过Powershell实现



注重事项指令很是简单 , 主要的是要能看懂指令;
经由过程该指令查看防火墙状况 , 要比图形化界面查看简练的多;


以上内容就是查看防火墙状态是否可以通过Powershell实现的内容啦 , 希望对你有所帮助哦!

    猜你喜欢