Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

The Answer + 1

$
0
0

I know I'm a relative newbie, but this just cost me two hours of troubleshooting an application sync issue that didn't exist.  Can somebody please tell me why this is returning a count that's one higher than the actual number of users in the group?  I found my problem with a 40-something line VBS script, but this PowerShell command should have been able to do it in one line; or so I thought.

(dsget group "CN=GroupName" -members").count

Thanks for your help.



Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>