This post will show you how to enable or disable POP3 for mailbox user named testuser using powershell on Windows server 2003.
To enable POP3 type:
Set-CASMailbox -Identity testuser@testdomain.com -POPEnabled $true
To disable POP3 type:
Set-CASMailbox -Identity testuser@testdomain.com -POPEnabled $false
This post will show you how to enable or disable Outlook Web Access (OWA) for mailbox user named testuser using powershell on Windows server 2003.
To enable OWA type:
Set-CASMailbox -Identity testuser@testdomain.com -OWAEnabled $true
To disable OWA type:
Set-CASMailbox -Identity testuser@testdomain.com -OWAEnabled $false
This post will show you quick way how to enable or disable IMAP4 for mailbox user named testuser using powershell on Windows server 2003.
To enable IMAP4 type:
Set-CASMailbox -Identity testuser@testdomain.com -IMAPEnabled $true
To disable IMAP4 type:
Set-CASMailbox -Identity testuser@testdomain.com -IMAPEnabled $false
This post will show how to import data from PST file to mailbox in Exchange 2007 running on Windows server 2003. Lets import testuser.pst which is located in D:\PST to testuser mailbox.
First we need to have full access rights on testuser mailbox. To grant it to our user (Admin) open powershell and type:
Add-MailboxPermission -Identity testuser -User Admin -AccessRights FullAccess
After granting rights we can proceed with data import:
Import-Mailbox -Identity testuser@testdomain.com -PSTFolderPath D:\PST\testuser.pst
Note that you need Outlook 2003 with SP2 or Outlook 2007 installed to perform this import
In this post you`ll see how to disconnect or remove permanently user mailbox in Exchange 2007 server. Note that user account asociated with that mailbox will be deleted in both ways. Lets operate in domain testdomain.com against user Testuser mailbox “testuser”.
To disconnect mailbox and delete user account type:
Remove-Mailbox -Identity testdomain.com\testuser
To remove mailbox and delete user account type:
Remove-Mailbox -Identity testdomain.com\testuser -Permanent $true
This example will show you how to create mailbox for new user in Exchange 2007 server named “TestExchange”. Lets create new mailbox for user Thomas Green in testdomain.com domain. Mailbox will be created in “FirstDB” database which is located in “FirstSG” storage group. To do it open exchange powershell in your Windows server 2003 and type:
New-Mailbox -Alias thomas -Database “FirstSG\FirstDB” -Name ThomasGreen -OrganizationalUnit Users -FirstName Thomas -LastName Green -DisplayName “Thomas Green” -UserPrincipalName ThomasGreen@testdomain.com
We will check how to list Public Folder “TestPF” permissions which is located under \Finance on Exchange 2007 server “TestExchange”. For that open exchange powershell in Windows server 2003 and type:
Get-PublicFolderClientPermission \Finance\TestPF -Server TestExchange
This post will show how to create new public folder named “TestPF” under existing PF path \Finance in Exchange 2007 server “TestExchange” running on Windows server 2003. To start with this tast open exchange powershell and type:
New-PublicFolder -Name TestPF -Path \Finance -Server TestExchange
This post will show you how to view active sessions in Exchange 2007 server named “TestExchange” running on Windows server 2003. To do that open exchange powershell and type:
Get-LogonStatistics -Server TestExchange
Note that in order to use Get-LogonStatistics cmdlet you have to be at least Exchange View-Only Administrator.
This article will show you how to install new version of powershell. Note that before Powershell v2.0 (CTP) install you have to uninstall Powershell 1.0 from your Windows server 2003 or Windows XP computer. For that go to add and remove programs window, mark “Show updates” option and remove Powershell 1.0.
After that you have to install WS-Management v1.1 package which can be downloaded from here .
And finally download and install Powershell v2.0 .