Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # GetCASUsers.ps1
- # Command to create a CSV file of active users on all client access servers.
- 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