powershell - How to check the existence of a Group in Windows -


i have been able determine if specified user exists under domain/user not sure of best way determine if group exists under specific domain.

has created solution issue?

thanks!

you can use adsisearcher type shortcut:

 ([adsisearcher]'(&(objectclass=group)(samaccountname=group1))').findone()  

Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -