Forum

Lync Client version...
 
Bildirimler
Hepsini Temizle

Lync Client versionlarını görmek için

2 Yazılar
2 Üyeler
0 Likes
507 Görüntüleme
(@nasrineymar)
Gönderiler: 103
Reputable Member
Konu başlatıcı
 

Merhaba arkadaşlar,

Ortamda 3.500 adet Lync kullanan kullanıcılar var.
Kullanıcıların bilgisayarlarında hem Lync 2010 ve hem Lync 2013 kurulu.

"Get-CsConnections.ps1 -Pool contoso.com -ClientVersion" komutu ile ortamda açık olan Lync client uygulamalarının versionları görülebilmekte.

Yani kaç tane Lync 2010 açık kaç tane Lync 2013 açık ve kimler IPHONE ve IPAD cihazlarında bağlanmış yani rapor aşağıda olduğu gibi geliyor.

Agent                                 Connections
-----------------------------------------------
OC/4.0.7577.4446 (Lync 2010)........................... 277
OC/4.0.7577.4445 (Lync 2010)............................11
OC/4.0.7577.4419 (Lync 2010)..............................7                                
OC/4.0.7577.4415 (Lync 2010).............................15
OC/3.5.6907.244 (Communicator 2007 R2)...........3                                 
OC/3.5.6907.225 (Communicator 2007 R2)............1                               
OC/15.0.4659.1001 (Lync).................................. 939                                               
OC/15.0.4649.1000 (Lync)...................................751                                              
OC/15.0.4641.1000 (Lync)...................................187
OC/15.0.4551.1007 (Lync).....................................25                                 

UCWA/5.0.0.0 iPhone/5.5.1787.0000 (iPhone iPhone OS 8.0.2)............78
UCWA/5.0.0.0 iPhone/5.5.1787.0000 (iPhone iPhone OS 8.0)...............55                   
UCWA/5.0.0.0 iPhone/5.5.1787.0000 (iPhone iPhone OS 7.1.2)............10                 
UCWA/5.0.0.0 iPhone/5.4.1485.0000 (iPhone iPhone OS 7.1.2)..............7                 
UCWA/5.0.0.0 iPad/5.5.1790.0000 (iPad iPhone OS 8.0.2)....................25                     
UCWA/5.0.0.0 Android/5.4.1106.0 (SM-N9000Q Android 4.4.2).............36                  

----------------------------------------------------------------

Yani ben şöyle bir rapor çekebilir miyim?

Ortamdaki clientların hangi Lync Client Lync 2010 ve Lync 2013 açmış.

Örneğin bir client var Client  ismi OSMAN-BARUT. Kullanıcı adı Obarut
Bu kullanıcının bilgisayarında Lync 2010 ve Lync 2013 yüklü ama o anda hangisini kullanıyor onu nerden ve nasıl öğrenebilirim?

Yani raporu aşağıdaki gibi nasıl görebilirim.

Agent or Client Name       Lync Version
OSMAN-BARUT                OC/4.0.7577.4446 (Lync 2010)

İyi günler dilerim.
Teşekkürler

 
Gönderildi : 17/10/2014 13:08

(@evrenbanger)
Gönderiler: 2439
Üye
 

Computer name değilde username ile çakabilirsin. Eğer işine yararsana powershell code aşağıda.

 Şu şekilde çalıştırmalısın : Get-PoolUserRegistrations.ps1 –PoolFqdn a.local 

 Param (

    $PoolFQDN = (Read-Host -Prompt "Please enter the pool fqdn")
)

#Get all the CS pool information
$CSPool = Get-CSPool $PoolFQDN

#Create empty variable that will contain the user registration records
$overallrecords = $null

#Loop through a front end computers in the pool
Foreach ($Computer in $CSPool.Computers){

    #Get computer name from fqdn
    $ComputerName = $Computer.Split(".")[0]

    #Defined Connection String
    $connstring = "server=$ComputerName\rtclocal;database=rtcdyn;`
        trusted_connection=true;"

    #Define SQL Command     
    $command = New-Object System.Data.SqlClient.SqlCommand
    $command.CommandText = "Select (cast (RE.ClientApp as `
        varchar (100))) as ClientVersion, `
        R.UserAtHost as UserName, `
        RE.EndpointId as EndpointId, `
        EP.ExpiresAt, `
        '$computer' as RegistrarFQDN `
        From `
       rtcdyn.dbo.RegistrarEndpoint RE `
       Inner Join `
        rtc.dbo.Resource R on R.ResourceId = RE.OwnerId `
       Inner Join `
        rtcdyn.dbo.Endpoint EP on EP.EndpointId = RE.EndpointId `
        Order By ClientVersion, UserName "

    #Make the connection to Server     
    $connection = New-Object System.Data.SqlClient.SqlConnection
    $connection.ConnectionString = $connstring
    $connection.Open()
    $command.Connection = $connection
     
    #Get the results
    $sqladapter = New-Object System.Data.SqlClient.SqlDataAdapter
    $sqladapter.SelectCommand = $command
    $results = New-Object System.Data.Dataset     
    $recordcount=$sqladapter.Fill($results) 
     
    #Close the connection
    $connection.Close()
     
    #Append the results to the reuslts from the previous servers
    $overallrecords = $overallrecords + $Results.Tables[0] 
}

$overallrecords 

 
Gönderildi : 21/10/2014 11:58

Paylaş: