Public Folder Creation via Script
I need to create ~ 2000 public folders that will go under various public folders already created. the new folders are to be created using the display name of a list of users. does anyone know of a script that can help me with this task? as always, much appreciated.
May 11th, 2010 10:21pm

New-PublicFolder cmd can be used http://technet.microsoft.com/en-us/library/aa996405(EXCHG.80).aspx You will need to put in logic for the different locations and different users
Free Windows Admin Tool Kit Click here and download it now
May 11th, 2010 11:24pm

Hi, Create a csv file with the below columns path name \Contractors\ABC Test now, lets name the file test.csv, place it in "c" drive and run the below command in exchange management shell. Import-csv "c:\test.csv" | foreach-object { New-PublicFolder -Name $_.Name -Path $_.Path } Thanks Shiv
May 11th, 2010 11:27pm

so will this work on Exchange 2003? i think I forgot to mention that earlier.
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2010 3:14am

Hi, This command has to be run in exchange management shell. We cannot run this on exchange 2003 server. Thanks Shiv
May 12th, 2010 3:55am

thanks. anyone have a script for exchange 2003?
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2010 1:38pm

thanks
May 12th, 2010 9:07pm

Agree with Shiv. There’s no method that can accomplish such task in the exchange 2003 natively. You can try to do it by using the script, please refer to the resources below: Howto: VB - An example to create a public folder with storage limit settings Please use the “Development” forum which would be the best place if you have any question about programming a scriptJames Luo TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx) If you have any feedback on our support, please contact tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
May 13th, 2010 12:13pm

thanks, the link you provided just circles back this thread.
May 14th, 2010 2:05pm

thanks, the link you provided just circles back this thread. He meant to put this link http://blogs.msdn.com/webdav_101/archive/2008/03/12/howto-vb-an-example-to-create-a-public-folder-with-storage-limit-settings.aspx Regards,Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM) www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
May 14th, 2010 11:17pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics