Windows features control on foreign server with powershell
-
2012년 3월 2일 금요일 오후 2:25
Hi,
I'd like to manage (or at least view) the Windows Features on foreign servers.
I know you can manage the feature of the local server through -Import-Module Servermanager and Get-/Add-/Remove-WindowsFeature.
But is there a way to manage them on foreign Servers?Thanks in advance,
Kenney
모든 응답
-
2012년 3월 2일 금요일 오후 2:50
Yes that is possible. Try out this script:
PowerShell to list / add / remove Windows roles & features remotely
- 답변으로 표시됨 Yan Li_Microsoft Contingent Staff, Moderator 2012년 3월 5일 월요일 오전 6:41
-
2012년 3월 3일 토요일 오후 3:01
Hi Kenney,
Or just use:
Enter-PSSession -ComputerName ServerName
and next you have the free to operate
Import-Module ServerManager Get-WindowsFeature
- 답변으로 제안됨 BigteddyMicrosoft Community Contributor 2012년 3월 3일 토요일 오후 4:00
- 답변으로 표시됨 Yan Li_Microsoft Contingent Staff, Moderator 2012년 3월 5일 월요일 오전 6:39
-
2012년 3월 7일 수요일 오후 2:32
Hey guys,
thanks for the quick response. i'd like to get them form another script so the module Jaap suggested will be the most usefull one for me.
thanks anyway.
Kenney

