Re: Double Spaces in Group Name prevents export!!
- From: "Richard Mueller" <rlmueller-NOSPAM@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 May 2006 14:18:30 -0500
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
.
- References:
- Re: Double Spaces in Group Name prevents export!!
- From: Richard Mueller
- Re: Double Spaces in Group Name prevents export!!
- Prev by Date: Re: export to a AD Distributed group to a text
- Next by Date: Re: Backup plan and upgrading procedures
- Previous by thread: Re: Double Spaces in Group Name prevents export!!
- Next by thread: Re: export to a AD Distributed group to a text
- Index(es):
Relevant Pages
|