i'm using powershell version 2.0 , wanted know how add domain computer domain global group.
also know if there site go has v2 commands , examples.
i know little late but, can use powershell's active directory modulde in powershell 2.0:
import-module activedirectory $globalgroup = "your_global_group" $computername = "your computer name" $computerobj = get-adcomputer $computername -properties * add-adgroupmember -identity $globalgroup -members $computerobj.distinguishedname note: need turn on active directory windows feature able use activedirectory module. can found under 'remote sever administration tools' tab in windows features.
Comments
Post a Comment