2013-03-07 69 views
7

我似乎無法找到我的系統上NetSecurity模塊。我正在使用一個Amazon Windows 2008 Server R2 SP1實例。Powershell NetSecurity模塊在哪裏?

Get-Module -ListAvailable在我的環境中返回此:

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,但據報道,已經安裝。

回答

6

的是new modules in powershell 3.0只包括作爲角色的一部分/特點是附帶Windows Server 2012中,在某些情況下,他們也適用於Windows 8。不幸的是,它們不能安裝在之前版本的Windows上,並且NetSecurity是這個模塊之一

+0

Tks。看起來像COM對象是我現在操縱防火牆規則的唯一方式。 – 2013-03-12 22:55:23

+0

我正在爲Vista/2008 +開發模塊,該模塊實現了NetSecurity模塊中與防火牆相關的重要cmdlet。它將很快完成並在github上提供。準備發佈時,我會在[博客](http://andyarismendi.blogspot.com)上發帖。 – 2013-03-26 01:27:42