Nov 10 2021 10:14 PM
Hi,
Currently, use PS to import those phone numbers to the CSV sheet, find a number not allocated and offer that to a new user.
Get-CsOnlineUser | Where-Object { $_.LineURI -notlike $null } | Select-Object DisplayName,UserPrincipalName,LineURI | export-csv PHNumbers.csv -NoTypeInformation
How do we automate this process or PS script to find the unallocated number easily?
Dec 17 2021 01:46 PM