Monday, April 8, 2013

Exchange 2007 Powershell Command

Creation Exchange 2007 Certificate

New-ExchangeCertificate -DomainName mail.com,webmail.mail.com,autodiscover.mail.com,pop.mail.com 
-FriendlyName ExchangeCertificate 
-KeySize 2048 
-Path c:\temp\ExchangeCertificate.txt 
-PrivateKeyExportable:$True 
-GenerateRequest:$True

Creation of New PublicFolder

new-publicfolderdatabase -StorageGroup 'SERVER33\First Storage Group' -Name 'PublicFolder1' -EdbFilePath 'C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\PublicFolder1.edb'

Mounting New PublicFolder

mount-database -Identity 'CN=PublicFolder1,CN=First Storage Group,CN=InformationStore,CN=SERVER33,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=mail,DC=com'

The blog is written to the share the knowledge mainly on Microsoft Exchange Server and other Microsoft product that experienced on day-to-day life.