Link to home
Start Free TrialLog in
Avatar of ECS-ITUK
ECS-ITUK

asked on

Get-ActiveSyncDeviceStatistics against a list of users

Hi I have a list of AD user name in C:\temp\users.txt

I want to be able to run the Get-ActiveSyncDeviceStatistics against that list.

Something like Get-Content C:\temp\users.txt | Get-ActiveSyncDeviceStatistics

Can someone please send me the correct syntax.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

Check whether the treasure you are looking for is hidden in this chest..

trying to get list of activesync devices EXCLUDING those in a list
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/10e6a380-d9c7-42c3-a652-60ceb85aa02d/trying-to-get-list-of-activesync-devices-excluding-those-in-a-list?forum=ITCG

Hope that helps :)
Avatar of ECS-ITUK
ECS-ITUK

ASKER

Works great thanks