Jump to content

Find Out Which Swyxphones Are Currently Logged On?


Virikas

Recommended Posts

  • Most Valued User

Hey there,


 


I'm looking for a way to get a list of all currently logged on swyxphones.


Ideally this list should include the string I can see via users --> devices (e.g. Swyxphone L615 <Firmwareversion>), MAC and IP Adress.


 


Until Swyx 7 there was the table CurrentUserDevices where I could find these information. Unfortunately this table is no longer filled from Swyx 2011 onwards :(


Link to comment
Share on other sites


  • Most Valued User

Hallo Virikas,


 


ich habe hier noch ein Power Shell Code, vielleicht hilft er dir weiter



connect-ippbx -useippbxlogin
$User = get-ippbxuser | ForEach-Object { add-member -MemberType NoteProperty -Name "DeviceList" -InputObject $_ -Value($adminfacade.GetCurrentUserDevices($_.UserID) ) -PassThru }
$User.devicelist | Where-Object {$_.strVersion -match "L" } | ft -auto iuserid, strVersion, strIPAddress

das Ergebnis sieht so aus



iUserID strVersion strIPAddress
------- ---------- ------------
19 L640/V3_R0.23.0 192.168.200.127
20 L640/V3_R0.23.0 192.168.200.152
23 L640/V3_R0.23.0 192.168.200.150
32 L620/V3_R0.23.0 192.168.200.138
43 L640/V3_R0.23.0 192.168.0.25
44 L640/V3_R0.23.0 192.168.0.22
49 L640/V3_R0.23.0 192.168.0.20
56 L660/V3_R0.23.0 192.168.200.135
15 L640/V3_R0.23.0 192.168.200.154
45 L640/V3_R0.23.0 192.168.0.33


Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.