Exchange

How to get a listing of ActiveSync Devices in Live@Edu

How to get a listing of ActiveSync Devices in Live@Edu

In administering your Live@Edu environment, one of the things that you may want or need to do is list all the users that have paired ActiveSync devices to their Live@Edu mailbox environment. ย As many who have administered Live@Edu environments or Hosted Exchange will tell you, many of the Exchange commands or scripts that we may have written for our on premises Exchange environments will not work in the online Exchange environment. ย Microsoft has “watered down” the commandlets in the remote powershell sessions that you get to your Live or hosted Exchange environments. ย Most of the commands may still work, however, many of the parameters have been restricted so that you can’t really do what you need to do with them.

With that being said, you can find many nice scripts on the net for getting ActiveSyncDevice information that just won’t work trying to get this same information from your hosted Exchange environment. ย However, there are still a few commands that are helpful in getting this information and one of those is theย get-activesyncdevice commandlet with a few parameters to help us format the information in a viewable table that we can actually use.

 

get-activesyncdevice | Format-Table DeviceType,DeviceOS,DeviceModel,Identity

You should see an output similar to the image below:

activesync_live1

One of the problems with theย Format-Table parameter is that part(s) of your paths or displayed information may be truncated which can cause problems in interpreting the data you are trying to gather. ย There are a couple of parameters that can be used in conjunction with the Format-Table parameter that can help with this:

  • Autosize
  • Wrap

Also, you can use both autosize and wrap parameters together as well.

 

get-activesyncdevice | Format-Table DeviceType,DeviceOS,DeviceModel,Identity -Autosize -Wrap

By using theย get-activesyncdevices command along with just a bit of formatting, we can come up with a usable table of information which is very useful in determining who has devices connected via activesync as well as the type of device that is connected.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.