powershell get-adgroupmember is not returning groups that are from a different forest -


i can't seem display groups of active directory security group. use command

get-adgroupmember $group -server $servername.   

it doesn't return error. returns empty results.

so tried command

get-adgroup $group -server $servername -properties memberof  

the memberof section blank.

the 1 thing stands out security group forest. converted them on new forest sidhistory in place.

the groups show in "active directory user , computers" gui. thoughts?

you missing -identity

get-adgroupmember -identity $group -server $servername | select samaccountname 

Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -