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上提供。我会在我的网站上发布,当它准备好分发时。