
How to connect to IMAPS or POP3S using telnet
First you will need OpenSSL (for Windows: https://slproweb.com/products/Win32OpenSSL.html) After installing OpenSSL, run it and your prompt should change to OpenSSL> To connect to your POP3 or IMAP […]
First you will need OpenSSL (for Windows: https://slproweb.com/products/Win32OpenSSL.html) After installing OpenSSL, run it and your prompt should change to OpenSSL> To connect to your POP3 or IMAP […]
You will need the Lync SDK: https://www.microsoft.com/en-us/download/details.aspx?id=36824 Then here’s the script:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
#Monitor Lync user and log this every 30 seconds. function loglync { import-module "C:\test\LNC\lib\Microsoft.Lync.Model.Dll" $client = [Microsoft.Lync.Model.LyncClient]::GetClient() $user="user@domain.com" $contact = $client.ContactManager.GetContactByUri($user) $stat1=$contact.GetContactInformation("Availability") #[enum]::GetValues([Microsoft.Lync.Model.ContactAvailability]) | %{ "{0,3} {1}" -f $([int]$_),$_ } $stat2=[Microsoft.Lync.Model.ContactAvailability] $contact.GetContactInformation("Availability") $date1=get-date -Format "yyyy MMM d - hh:mm:ss" $alllogs = @() $myObject = New-Object System.Object $myObject | Add-Member -type NoteProperty -Name Time -Value $date1 $myObject | Add-Member -type NoteProperty -name AccountName -Value $user $myObject | Add-Member -Type NoteProperty -Name ServerStatus -Value $stat1 $myObject | Add-Member -Type NoteProperty -Name Status -Value $stat2 $alllogs += $myObject $alllogs | Export-Csv -Path "C:\test\LNC\log.csv" -Append } while ($true) { Start-Sleep -Seconds 5 loglync } |
Since there is no out of the box way to list the installed Apps on your SPO tenant, here is a CSOM way to do […]
Copyright © 2025 | PhoeNIXBird Networks