ulfwil Posted August 19, 2015 #1 Share Posted August 19, 2015 Hi,If you get a user by commandGet-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 More sharing options...
ThorstenH Posted August 19, 2015 #2 Share Posted August 19, 2015 Hi, you can use an object: $foo = Get-IpPbxUser -readonly -UserName "Ulf Wilhelmsson" Write-Host $foo.PublicNumbersThis should output +4684590043 Or, use Get-IpPbxPublicNumber -username "Ulf Wilhelmsson"bye thorsten Hi,If you get a user by commandGet-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 More sharing options...
ulfwil Posted August 20, 2015 Author #3 Share Posted August 20, 2015 The -readonly switch to Get-IpPbxUser change the properties. Good to know. And the cmdlet Get-IpPbxPublicNumber had I no knowledge about. Thanks alot! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.