Exchange Server 2013 Preview – New PowerShell Cmdlets – Part 1

The Exchange Server 2013 Preview has been out for a month or so and I’ve been trying it out in a lab environment. At the same time I’ve been working on some complex PowerShell scripts for the consulting gigs I am working on. As such I thought I would spend some time on the new PowerShell cmdlets that are available in the Exchange Server 2013 Preview.

For this article we will concentrate on the GET based cmdlets that have been introduced. First off, there are over 100+ new commands compared to Exchange Server 2010. To get a list of the GET based commands simply type in (in the Exchange Server Management Shell):

Get-ActiveSyncDeviceAutoblockThreshold Get-MonitoringItemHelp
Get-App Get-MonitoringItemIdentity
Get-AuthConfig Get-Notification
Get-AuthServer Get-PartnerApplication
Get-CalendarDiagnosticAnalysis Get-PendingFederatedDomain
Get-ClassificationRuleCollection Get-PolicyTipConfig
Get-DataClassification Get-PublicFolderMailboxDiagnostics
Get-DlpPolicy Get-PublicFolderMigrationRequest
Get-DlpPolicyTemplate Get-PublicFolderMigrationRequestStatistics
Get-ExchangeServerAccessLicense Get-PublicFolderMoveRequest
Get-ExchangeServerAccessLicenseUser Get-PublicFolderMoveRequestStatistics
Get-FrontendTransportServer Get-QueueDigest
Get-FrontendTransportService Get-ResourcePolicy
Get-GlobalMonitoringOverride Get-ResubmitRequest
Get-HealthReport Get-ServerComponentState
Get-InterceptorRule Get-ServerHealth
Get-MailboxSearch Get-ServerMonitoringOverride
Get-MailboxTransportService Get-SiteMailbox
Get-MalwareFilteringServer Get-SiteMailboxDiagnostics
Get-MalwareFilterPolicy Get-SiteMailboxProvisioningPolicy
Get-MalwareFilterRecoveryItem Get-TeamMailbox
Get-MigrationBatch Get-TeamMailboxDiagnostics
Get-MigrationConfig Get-TeamMailboxProvisioningPolicy
Get-MigrationEndpoint Get-TransportService
Get-MigrationStatistics Get-UMCallAnsweringRule
Get-MigrationUser Get-UMCallRouterSettings
Get-MigrationUserStatistics Get-UMPhoneSession
Get-MobileDevice Get-UserPhoto
Get-MobileDeviceMailboxPolicy Get-WorkloadManagementPolicy
Get-MobileDeviceStatistics Get-WorkloadPolicy

Here are some examples of the commands above. Browse TechNet for more information on each one.

Get-malwarefilterpolicy

TechNet Info

http://technet.microsoft.com/en-us/library/jj215693(v=exchg.150).aspx

http://technet.microsoft.com/en-us/library/jj150547(v=exchg.150).aspx

Summary

This command will list your Malware filtering policy for your Exchange Server 2013 Preview environment. Malware filtering
is a new feature added to Exchange Server 2013 Preview.

Sample Output: [default and unmodified policy]











Get-DlpPolicy:

TechNet Info

http://technet.microsoft.com/en-us/library/jj215752(v=exchg.150).aspx

http://technet.microsoft.com/en-us/library/jj150515(v=exchg.150).aspx

Related

Export-DlpPolicyCollection, Get-DlpPolicyTemplate, Import-DlpPolicyCollection, Import-DlpPolicyTemplate, New-DlpPolicy, Remove-DlpPolicy, Remove-DlpPolicyTemplate, Set-DlpPolicy,

Summary

DLP is another method Microsoft is using to help protect sensitive information that might leak out via emails. You can create your own custom policy or use a template to make your own.

Sample Output: [default and unmodified policy]

• Note by default there is no DLP Policy, user set-dlppolicy to create one via PowerShell or in the Exchange web interface under ‘Compliance Management – Data Loss Protection









Get-QueueDigest

TechNet

http://technet.microsoft.com/en-us/library/jj215701(v=exchg.150).aspx

Summary:

“Use the Get-QueueDigest cmdlet to view information about message delivery queues across database availability groups (DAGs) Active Directory sites, or Active Directory forests in your organization.”

Related

Get-Queue, Resume-Queue, Retry-Queue, Suspend-Queue

Get-BpaModel

TechNet

http://technet.microsoft.com/en-us/library/ee617285.aspx

Related

Invoke-Bpamodel, Get-BpaResult, and Set-BpaResult

Summary

A new feature added to Exchange Server 2013 Preview is BPA modeling and applying them to

Sample Output:





Get-Notification

TechNet

http://technet.microsoft.com/en-us/library/jj218661(v=exchg.150).aspx

Related

get-calendarNotification, set-notification

Summary:

This command will display any notifications that would be displayed in the new Exchange Management Interface – Exchange Administration Center. Some sample notifications would be from LocalMove, RemoveMove, ImportPST, ExportPST, BulkProvisioning, Migration, MailboxMerge, MailboxRestore and CertExpiry.

Sample Output




Get-MobileDevice

TechNet

http://technet.microsoft.com/en-us/library/jj218706(v=exchg.150).aspx

Related

Clear-MobileDevice, Get-MobileDeviceMailboxPolicy, Get-MobileDeviceStatistics, New-MobileDeviceMailboxPolicy, Remove-MobileDevice, Remove-MobileDeviceMailboxPolicy, Set-MobileDeviceMailboxPolicy

Sample Output

 [ ** No mobile devices are connected to the environment used for testing ** ]

 











































In the next part to this series we’ll look at the new SET based cmdlets.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s