XenMobile: Script to list Users with Multiple Enrolled Devices

XenMobile: Script to list Users with Multiple Enrolled Devices

By : -

I was asked by a customer to create a script to report the list of Users with Multiple Enrolled Devices and provide a way to send report by email.

The script is based on Carl Webster template and is available here

How it works:

First you will need to change the extension from .txt to .ps1.

You will need to provide:

-SmtpServer IP/Address

-SmtpPort is optional

-From SENDER_EMAIL

-To RECEPIENT_EMAIL

-pdf, -html or -text for the report extension you want

 

 

When launched, you will be asked for XMS Server IP or FQDN and credentials (Local ADMIN or RestAPI)

 

 

After a few moment you will receive the report in your mailbox:

If needed, you can modify the script to provide “fixed” information for XMS Server and credentials so you can use Scheduled Tasks to send report as your convenience.

 

If you try it, please leave a comment.

 

Thanks

Arnaud

 

Leave a Reply

Your email address will not be published. Required fields are marked *