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

Error when working with apostrophe in name when creating groups

$
0
0

I am creating bulk group and one of the fields I need to populate is the "Managed By" field. when I am creating the groups one of the names I have to use for managed by is John O'Brien. 

This is what I get: Error parsing query: 'name -like 'John O'Brien'' Error Message: 'syntax error'. For some reason if I use samAccountname the field doesn't get populated

Is there a way to work around for this problem?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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