Exchange 2013

Managing Groups CMDlets

2013-07-19T19:42:57-05:00

Get Distribution Group Get-DistributionGroup -identity 'user@domain.com' | fl Get Distribution Group Members and export to text file Get-DistributionGroupMember -Identity 'group@domain.com' | ft name, primarysmtpaddress > c:\path\file.txt Get Distribution Group information [...]

Managing Groups CMDlets2013-07-19T19:42:57-05:00

Managing Mailbox Permissions CMDlets

2013-07-19T12:23:52-05:00

Grant Send on Behalf of Permissions Set-Mailbox 'user@domain.com' -GrantSendOnBehalfTo 'user@domain.com' Add Editor permissions Add-MailboxFolderPermission -Identity 'user@domain.com' -User 'user@domain.com' -AccessRights Editor Add Reviewer permissions (what if) Set-MailboxFolderPermission -Identity 'user@domain.com' -User 'user@domain.com' [...]

Managing Mailbox Permissions CMDlets2013-07-19T12:23:52-05:00

Mailbox Import \ Exports CMDlets

2013-07-18T11:27:18-05:00

Export a Mailbox to PST New-MailboxExportRequest -Mailbox user@domain.org -FilePath "\\path\user.pst" Get Mailbox Export Requests Get-MailboxExportRequest | Get-MailboxExportRequestStatistics Remove Mailbox Export Requests Get-MailboxExportRequest | Remove-MailboxExportRequest Export Mailbox to PST New-MailboxExportRequest -Mailbox [...]

Mailbox Import \ Exports CMDlets2013-07-18T11:27:18-05:00

Mailbox Import \ Exports CMDlets

2013-07-18T11:27:18-05:00

Export a Mailbox to PST New-MailboxExportRequest -Mailbox user@domain.org -FilePath "\\path\user.pst" Get Mailbox Export Requests Get-MailboxExportRequest | Get-MailboxExportRequestStatistics Remove Mailbox Export Requests Get-MailboxExportRequest | Remove-MailboxExportRequest Export Mailbox to PST New-MailboxExportRequest -Mailbox [...]

Mailbox Import \ Exports CMDlets2013-07-18T11:27:18-05:00

DAG Management CMDLETS

2013-07-14T00:50:49-05:00

Get DAG Status Get-DatabaseAvailabilityGroup EX10DAG1 -Status | fl StartDagServerMaintenance.ps1 script to put the DAG member in maintenance mode .\StartDagServerMaintenance.ps1 -serverName EX10SRV02 StopDagServerMaintenance.ps1 script to take the DAG member out of [...]

DAG Management CMDLETS2013-07-14T00:50:49-05:00

Database Maintenance and Management CMDLETS

2013-07-14T00:19:11-05:00

Defrag Mailbox Database eseutil /d EX10mbx01.edb /t E:\DB\EX10mbx05\defrag\EX10mbx01_temp.edb Disable Exchange Search for a mailbox database Set-MailboxDatabase "EX10MBX01" -IndexEnabled $FALSE Enable Exchange Search for a mailbox database Set-MailboxDatabase "EX10MBX06" -IndexEnabled $TRUE [...]

Database Maintenance and Management CMDLETS2013-07-14T00:19:11-05:00

Exchange 2010 Database Status PowerShell CMDlets

2013-07-08T14:26:03-05:00

Status for all database copies on the Mailbox server Ex10CHM10 by status Get-MailboxDatabaseCopyStatus -Server Ex10CHM09 | Sort-Object -Property Status| ft mailboxserver,DatabaseName, status,Copyqueuelength,Replayqueuelength, ContentIndexState, ActiveCopy,ErrorMessage -AutoSize Get Database Copy Status Get-MailboxDatabaseCopyStatus [...]

Exchange 2010 Database Status PowerShell CMDlets2013-07-08T14:26:03-05:00

Database Seeding cmdlets

2013-06-07T12:59:26-05:00

Get Database Copy Status Get-MailboxDatabaseCopyStatus -Identity 'EX10mbx01' | ft name,Status,ContentIndexState,ReplayQueueLength,CopyQueueLength -autosize Status for all database copies on the Mailbox server EX10CHM10 by status Get-MailboxDatabaseCopyStatus -Server EX10CHM01 | Sort-Object -Property Status| [...]

Database Seeding cmdlets2013-06-07T12:59:26-05:00

User & Mailbox Management

2013-06-05T17:02:01-05:00

Keep record of PowerShell commands Start-Transcript -Path c:\PS_logfile.txt Script to Set Database Retention Defaults on all mailboxes (get-mailbox -resultsize unlimited | Set-Mailbox -UseDatabaseRetentionDefaults $true) Find Mailbox Rules Get-InboxRule -Mailbox {User Mailbox} [...]

User & Mailbox Management2013-06-05T17:02:01-05:00

Exchange 2010 DAG Related

2013-06-05T17:00:21-05:00

Get DAG Status Get-DatabaseAvailabilityGroup {DAG NAME} -Status | fl StartDagServerMaintenance.ps1 script to put the DAG member in maintenance mode  .\StartDagServerMaintenance.ps1 -serverName {DAG NAME} StopDagServerMaintenance.ps1 script to take the DAG member [...]

Exchange 2010 DAG Related2013-06-05T17:00:21-05:00
Go to Top