Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. # GetCASUsers.ps1
  2. # Command to create a CSV file of active users on all client access servers.
  3.  
  4. Get-Mailboxserver | Get-LogonStatistics | Select Windows2000Account,UserName,ServerName,ClientName,LogonTime,LastAccessTime | Export-CSV -notype .\CASUsers.csv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement