Jump to content

Retrieve Public Numbers Via Powershell


ulfwil

Recommended Posts

Hi,


If you get a user by command


Get-IpPbxUser -UserName "Ulf Wilhelmsson"


The result displayed will be like 


UserId Name                     EMailAddress                      InternalNumbers      PublicNumbers                      

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

200      Ulf Wilhelmsson     ulf.wilhelmsson@teleoffic... 5043,1443,7000       +4684590043    

 

And the Interalnumbers is possible to get by InternalNumberEntryCollection property.

But I can't find the way to retieve the PublicNumbers

 

Does someone know this?

Link to comment
Share on other sites


Hi,


 


you can use an object:



$foo = Get-IpPbxUser -readonly -UserName "Ulf Wilhelmsson"
Write-Host $foo.PublicNumbers

This should output +4684590043  


 


Or, use



Get-IpPbxPublicNumber -username "Ulf Wilhelmsson"

bye


 


thorsten


 




 


Hi,


If you get a user by command


Get-IpPbxUser -UserName "Ulf Wilhelmsson"


The result displayed will be like 


UserId Name                     EMailAddress                      InternalNumbers      PublicNumbers                      

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

200      Ulf Wilhelmsson     ulf.wilhelmsson@teleoffic... 5043,1443,7000       +4684590043    

 

And the Interalnumbers is possible to get by InternalNumberEntryCollection property.

But I can't find the way to retieve the PublicNumbers

 

Does someone know this?

 



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.