• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Active users on CAS

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2010] >> General >> Active users on CAS Page: [1]
Login
Message << Older Topic   Newer Topic >>
Active users on CAS - 30.Jan.2012 7:09:45 AM   
amit00001

 

Posts: 13
Joined: 27.Dec.2011
Status: offline
I have two question if someone can please help me out on this

1) How to check which users/client has connected to which CAS server in when ion cas array mode

2) Is there any way to find out how many mails are stored on users mailbox from server side.
Post #: 1
RE: Active users on CAS - 30.Jan.2012 9:38:40 AM   
jveldh

 

Posts: 2271
Joined: 12.Apr.2008
From: The Netherlands
Status: offline
Amit,

  1. You might check the RCA logswhich can be found by default in:
    Program Files\Microft\Exchange Server\V14\Logging\RPC Client Access
    This will contain RCA logs which contain IP-addresses and usernames
  2. User the Get-MailboxFolderStatistics cmdlet:
    For example:

foreach($mbx in Get-Mailbox){
Get-MailboxFolderStatistics $mbx.identity -FolderScope 'DeletedItems' | select @{n="DisplayName";e={$mbx.displayName}},FolderPath,ItemsInFolder,@{n="FolderSize(MB)";e={$_.folderSize.toMB()}}
}

 
Regards,
Johan



_____________________________

Best regards,

Johan Veldhuis

Visit my Exchange blog

(in reply to amit00001)
Post #: 2
RE: Active users on CAS - 30.Jan.2012 10:21:46 AM   
RustyShackleford

 

Posts: 217
Joined: 13.Jan.2010
Status: offline
If you just need item count, try the following:

Get-MailboxStatistics -Server mailboxservername | ft

(in reply to jveldh)
Post #: 3
RE: Active users on CAS - 30.Jan.2012 10:48:52 AM   
rem

 

Posts: 1
Joined: 30.Jan.2012
Status: offline
if you want to check which cas server is used by who you can use
get-logonstatistics username | select clientname

or if you want to know how many sessions are on yours cas servers you can use this script

function Get-CASActiveUsers {
[CmdletBinding()]
param(
[Parameter(Position=0, ParameterSetName="Value", Mandatory=$true)]
[String[]]$ComputerName,
[Parameter(Position=0, ParameterSetName="Pipeline", ValueFromPipelineByPropertyName=$true, Mandatory=$true)]
[String]$Name
)

process {
switch($PsCmdlet.ParameterSetName) {
"Value" {$servers = $ComputerName}
"Pipeline" {$servers = $Name}
}
$servers | %{
$RPC = Get-Counter "\MSExchange RpcClientAccess\User Count" -ComputerName $_
$OWA = Get-Counter "\MSExchange OWA\Current Unique Users" -ComputerName $_
New-Object PSObject -Property @{
Server = $_
"RPC Client Access" = $RPC.CounterSamples[0].CookedValue
"Outlook Web App" = $OWA.CounterSamples[0].CookedValue
}
}
}
}

get-casactiveusers -computername yourcasserver1, nextcasserver, nextcasserver



(in reply to amit00001)
Post #: 4

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2010] >> General >> Active users on CAS Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter