Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/71.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Powershell NetSecurity模块在哪里?_Powershell - Fatal编程技术网

Powershell NetSecurity模块在哪里?

Powershell NetSecurity模块在哪里?,powershell,Powershell,我似乎在我的系统上找不到NetSecurity模块。我正在使用一个amazonwindows2008服务器r2sp1实例 Get Module-listavableon my environment返回以下内容: ActiveDirectory (I installed this) ADRMS AppLocker BestPractices BitsTransfer CimCmdlets ISE Microsoft.PowerShell.D

我似乎在我的系统上找不到
NetSecurity
模块。我正在使用一个
amazonwindows2008服务器r2sp1
实例

Get Module-listavable
on my environment返回以下内容:

ActiveDirectory (I installed this)    
ADRMS    
AppLocker    
BestPractices    
BitsTransfer    
CimCmdlets    
ISE    
Microsoft.PowerShell.Diagnostics/Host/Management/Security/Utility    
Microsoft.WSMan.Management    
PSDiagnostics    
PSScheduledJob    
PSWorkflow    
PSworkflowUtility    
ServerManaer    
TroubleshootingPack

我曾尝试安装
WMF 3.0
,但据报道它已经安装。

那些仅作为Windows Server 2012附带的角色/功能的一部分包含在中,在某些情况下,它们在Windows 8上也可用。不幸的是,它们不能安装在以前版本的Windows上,
NetSecurity
是此模块的一部分。看起来COM对象是我现在操作防火墙规则的唯一方法。我正在使用Vista/2008+模块,该模块实现NetSecurity模块中与防火墙相关的重要cmdlet。它将很快完成并在github上提供。我会在我的网站上发布,当它准备好分发时。