Most Valued User Virikas Posted September 10, 2015 Most Valued User #1 Share Posted September 10, 2015 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 More sharing options...
Most Valued User SvenS Posted September 11, 2015 Most Valued User #2 Share Posted September 11, 2015 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, strIPAddressdas 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 More sharing options...
Most Valued User Virikas Posted September 11, 2015 Author Most Valued User #3 Share Posted September 11, 2015 Saugut das Ding Danke Edit: strMacAdress gibt mir auch die MacAdresse (falls das mal wer braucht ) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.