2013-03-26 4 views

답변

0

나는 당신이 PowerShell 2.0에서이 작업을 수행 PowerShellActive Directory modulde을 사용할 수 있습니다, 이것은 조금 늦게 알고 있지만 :

Import-Module activedirectory 

$globalGroup = "Your_Global_Group" 
$computerName = "Your Computer Name" 

$computerObj = Get-ADComputer $computerName -properties * 
Add-ADGroupMember -Identity $globalGroup -Members $computerObj.DistinguishedName 

은 다음 Active Directory 창으로 기능을 당신은 설정해야합니다 activedirectory 모듈을 사용할 수 있습니다. Windows 기능의 '원격 서버 관리 도구'탭에 있습니다.

링크 : For Cmdlet's in the AD module

관련 문제