Results 1 to 5 of 5

Thread: need to create folder in the name of Astra

  1. #1
    Join Date
    Apr 2012
    Posts
    3

    need to create folder in the name of Astra

    Hello,

    Please help me with 2 tasks.

    1.
    When execute this script, Folders were creating successfully with comman name and domain but I need create only with "CN"
    eg:"CN=Astra,OU=aaa,OU=bbb,OU=ccc,DC=ddd,DC=com"
    I need to create folder in the name of Astra
    Script:
    On Error Resume Next
    Dim objFSO, objFolder
    Set objGroup = GetObject _
    ("LDAP://cn=UserCreation,ou=aaa,ou=bbb,ou=ccc,dc=ddd,dc=com")
    objGroup.GetInfo

    arrMemberOf = objGroup.GetEx("member")

    WScript.Echo "Members:"
    For Each strMember in arrMemberOf

    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFolder = objFSO.CreateFolder(strMember)

    Next

    2. Please help me to set user permission to appropriate folder.

    Thanks!

  2. #2
    Join Date
    Dec 2007
    Posts
    2,291

    Re: need to create folder in the name of Astra

    Try to diagnose this by:
    1. Enabling Diagnostics.
    2. Reset ALL your collections.
    3. After the collections have been cleared re-enable the email collection.
    4. After the sync completes, compare the folders on your device with your server.
    5. Take specfic note of the name of a folder that has NOT been synced.
    6. Wait a further 5 minutes and then disable diagnostics.

  3. #3
    Join Date
    Apr 2012
    Posts
    3

    Re: need to create folder in the name of Astra

    Sorry, I don't understand

  4. #4
    Join Date
    Apr 2009
    Posts
    569

    Re: need to create folder in the name of Astra

    It will be better if you try to explain the same in more detail way. Are you trying to do this on Mac platform. Instead of using a script you can to use option Update Folder List in Astrasync. The update folder list which show up the of Exchange Server. If this not your issue, please mention in more detail about the process.

  5. #5
    Join Date
    Apr 2012
    Posts
    3

    Re: need to create folder in the name of Astra

    Platform: Windows
    Script: VBS

    1. I need create folder for each members from UserCreation (AD group).

    Using above script(Which I was mentioned in first post) I can create folders for each members but its creating with name and domain name. (eg:"CN=Astra,OU=aaa,OU=bbb,OU=ccc,DC=ddd,DC=com")
    I need need only Comman Name (eg. Astra) to be create as a folder.

    2. I need to set permission for folders.

    Thanks in advance

Similar Threads

  1. Replies: 2
    Last Post: 17-02-2011, 11:21 AM
  2. Replies: 4
    Last Post: 19-02-2010, 04:10 PM
  3. Create a folder without name.
    By Rohit Kasle (RK) in forum Tips & Tweaks
    Replies: 1
    Last Post: 04-02-2010, 08:52 PM
  4. Create a folder using C++ language
    By Otilio in forum Software Development
    Replies: 3
    Last Post: 24-11-2009, 08:40 PM
  5. Create a folder in Hotmail
    By dnice in forum Windows Software
    Replies: 4
    Last Post: 28-07-2009, 02:26 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,027,460.65917 seconds with 17 queries