Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Server & Application Monitor (SAM) > Office 365 user statistics with Powershell

Office 365 user statistics with Powershell

Table of contents
Created by Jesus Relingado, last modified by MindTouch on Jun 23, 2016

Views: 471 Votes: 0 Revisions: 3

Overview

This template tracks the statistics of exchange mailboxes of the exchange online server using PowerShell scripts.

Environment

SAM 6.2

Detail

Notes:

Check the prerequisites in Connect to Exchange Online using remote PowerShell. The PowerShell script mentioned should be run on the Orion server, not the target node.

Use Administrator credentials for Microsoft Office 365. For example:user@domain.onmicrosoft.com

 

Monitored Components

Recipient Statistics Report

This component monitor returns recipient statistics report which include the following:

  • Total Number Of Mailboxes;
  • Total Number Of Active Mailboxes;
  • Number Of Contacts;
  • Number Of Distribution Lists.

 

Total Items Count

This component monitor returns the total number of emails on the server.

 

Total Items Size (MB)

This component monitor returns the total mail size on the server in MB.

 

Specific User Items Count

This component monitor returns the number of emails for the specified user.

Note: You must specify the correct arguments in the Script Arguments field of the corresponding PowerShell Monitor. This monitor requires the following  argument:

   user_name

  where:
  user_name – target username;

Example: john

 

Specific User Items Size (MB)

This component monitor returns the mailbox size for the specified user in MB.

Note: You must specify the correct arguments in the Script Arguments field of the corresponding PowerShell Monitor. This monitor requires the following argument:

   user_name

  where:
  user_name – target username;

Example: john

 

Test User MAPI Connectivity

This component verifies that a specified mailbox can connect by using the MAPI protocol, which is used by Microsoft Office Outlook.

Note: By default, this monitor is disabled.

Possible returned values:
0 – Test failed. See message field for errors.
1 – MAPI Test successfully finished.

Note: You must specify the correct arguments in the Script Arguments field of the corresponding PowerShell Monitor. This monitor requires the following argument:

   user_name

  where:
  user_name – target username;

Example: john

For more information, see Office 365 User Statistics with PowerShell.apm-template.

Last modified
02:59, 23 Jun 2016

Tags

Classifications

Public