Solved

Get-logonstatistics

Posted on 2011-03-03
6
1,402 Views
Last Modified: 2012-05-11
I see this is a useful command to run to gain knowledge about clients.

But when I run get-logonstatistics -identity me@mydomain.com | fl

I seem to get loads of entries, as in lots of different times, do they refer to different times I opened Outlook? Is there a way to add a switch just to get the latest entry?

Also, there is an entry for "latency". Does this mean latency from the machine where I ran Powershell or latency between the client and the mailbox server?
0
Comment
Question by:Joe_Budden
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 4

Expert Comment

by:AmonPereira
ID: 35031250
Use the same command but after | type FT instead of FL.

Doing this it will show you all the options and you might add it to your next query.

0
 
LVL 1

Author Comment

by:Joe_Budden
ID: 35031337
Well that just lists loads of different Logon times, some only a few minutes from each other..not sure why that is?

Also - do you know what the "latency" field refers to?
0
 
LVL 7

Accepted Solution

by:
OctInv earned 500 total points
ID: 35033041
To answer one question, I think the latency refers to network performance, or lack of it for RPC.

As for the actual cammand there are amny attributes you can report on, such as:

Get-LogonStatistics "firstname Surname" | Format-Table username,clientipaddress,logontime

Personally I prefer to use the get-mailboxstatistics cmdlt as it can produce more useful information:

Get-MailboxStatistics -Database "ExchangeServer\databse" | Sort -Property TotalItemSIze | ft DisplayName, @{expression={$_.totalitemsize.value.ToMB()};label="Mailbox Size(MB)"}, itemcount, lastlogontime, lastlogofftime,lastloggedonuseraccount
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 7

Expert Comment

by:OctInv
ID: 35033047
It's late and my spelling is terrible ;-)
0
 
LVL 1

Author Comment

by:Joe_Budden
ID: 35043143
Thanks

This morning I had an issue where if I checked get-logonstatistics latency for a user, the latency was listed as about 800. The user in question was saying that his Outlook was unresponsive.

However, if I ran a Ping from the same Exchange server I ran the get-logontstatistics command from, the result was about 20ms.

Do you know what could cause the difference?
0
 
LVL 7

Expert Comment

by:OctInv
ID: 35044854
This could be any number of reasons and without knowing anything about your environment it is very difficult to comment. I would certianly start by using a performance monitoring tool to get the average RPC latancy reading. Also try other tools such as EXBPA. Is this issue just with one mailbox? If so is there something on the client machine that is submitting high RPC requests to Exchange? Some add in to Outlook maybe, or even a mobile device...? Really need more information.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question