HI everybody
i am looking for the code to see all the users in the group administrators
I have found that hyena can do this
but i need it in scripting
i have found a solution on http://www.microsoft.com/technet/com...iptcenter/user /scrug111.mspx
it works fine only the problem i still have is
that i can't see the user who can log on remotely by the domain
i will give you an example
in the group administrators of a computer you find
test
test1
test2
testing\test --> with testing = a domain
so test can logon as a admin localy
but he can also logon via the domain
if i run the script from above
i get:
test
test1
test2
test
so you can see the last test don't give the domain-name back
why not, i don't know
any suggestions??? because hyena does the job right
thanks in advance
i am looking for the code to see all the users in the group administrators
I have found that hyena can do this
but i need it in scripting
i have found a solution on http://www.microsoft.com/technet/com...iptcenter/user /scrug111.mspx
it works fine only the problem i still have is
that i can't see the user who can log on remotely by the domain
i will give you an example
in the group administrators of a computer you find
test
test1
test2
testing\test --> with testing = a domain
so test can logon as a admin localy
but he can also logon via the domain
if i run the script from above
i get:
test
test1
test2
test
so you can see the last test don't give the domain-name back
why not, i don't know
any suggestions??? because hyena does the job right
thanks in advance