Re: Double Spaces in Group Name prevents export!!



Hi,

The filter clause should be enclosed in parenthesis, not quotes. The quotes
should enclose the distinguished name of the group. Try:

csvde -f report.txt -r (memberOf="cn=MyList,ou=Sales,dc=MyDomain,dc=com") -l
sAMAccountName,displayName,mail

--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net

"Ammar" <Ammar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1EDD1A0B-320A-4159-880A-7C8DFB2BA062@xxxxxxxxxxxxxxxx
but dear im using this command

csvde -f report.txt -r "memberOf=cn=MyList,ou=Sales,dc=MyDomain,dc=com" -l
sAMAccountName,displayName,mail

which already have " " ...so if i use " " in the middle,it will not work

"Richard Mueller" wrote:

Ammar wrote:

when trying to export some group membership by using csvde ,i got no
entries
found , i think that this is because the group name contains double
spaces
and dashes like ( sales in departement) . and like this ( Sales in-my
company)

So how can i solve this

Hi,

Try enclosing the group name is quotes ("). For example:

csvde -f report.txt -r (cn="Sales in department")

If you really meant to specify a leading space, I find that leading
spaces
are ignored.

--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net





.



Relevant Pages

  • Re: HANDY FARM DEVICES
    ... >>That's because you didn't enclose the string in quotes. ... >>Try the same phrase in quotes and you'll find it returns 4 (Yes, ...
    (rec.woodworking)
  • Re: Type mismatch in ADO Recordset Open
    ... Enclosing the variable in quotes as I suggest won't sorce Access to search ... Dim strISBN As String ... Why would I enclose it in quotes? ...
    (microsoft.public.access.formscoding)
  • Re: Agent 3.0 Woof
    ... >> Sipowitz001@xxxxxxxxx appears to have caused the following letters to ... >>> If you enclose in quotes then at least do so with some accuracy. ... > Why should I, as a consumer, care about that? ...
    (rec.music.classical.recordings)
  • Re: Paths including spaces
    ... BTW, what's wrong with my original suggestion to enclose the path in quotes? ...
    (microsoft.public.scripting.vbscript)
  • Re: Type mismatch in ADO Recordset Open
    ... Why would I enclose it in quotes? ... just appending the variable to the explicit string. ... field of the Book Information table for the literal value "strISBN"? ...
    (microsoft.public.access.formscoding)