Find Base DN with Powershell

PS C:\Users> dsquery user -name bind*
“CN=Bind\, UCS,OU=Service Accounts,DC=med,DC=subd,DC=dom,DC=edu”
“CN=Bind\, cloud,OU=Service Accounts,DC=med,DC=subd,DC=dom,DC=edu”
“CN=bind\, ise,OU=Service Accounts,DC=med,DC=subd,DC=dom,DC=edu”
“CN=Bind\, NS,OU=Service Accounts,DC=med,DC=subd,DC=dom,DC=edu”
PS C:\Users>