Announcement

Collapse
No announcement yet.

Are the Windows 2008 Disk Quota Template objects retrievable from WMI Scripting?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Are the Windows 2008 Disk Quota Template objects retrievable from WMI Scripting?

    Hello,

    I'm trying to automate our user account creation process, and am relatively new to scripting. I was a programmer in a former life, and am now trying to reaquaint myself with it through scripting. What I want to do via a script is:

    1. Create the directory
    2. Set the NTFS Permissions
    3. Create the Share
    4. Set the share permissions
    5. Create the DFS namespace folder object
    6. Apply the proper quota template to the folder
    7. Create the AD account
    8. Create the exchange mailbox
    9. Populate the AD account into the various groups

    I've figured out how to enumerate the AD to get the groups, and to see if the user exists or not. I'm not finding a whole lot of information though on how to obtain the list of templates that I've created in Active Directory. Has anyone done anything like this already?

    Thanks,

    Mark
Working...
X