How to create PSTNusages via SFB PowerShell?

Copper Contributor
How to create PSTNusages via SFB PowerShell in SFB server. Can’t seems to find a way. In GUI it’s available but no PowerShell command to do it.
Any help would be appreciated
5 Replies

I can't say i've used it myself but I would think it was this command:


Set-CsPstnUsage

To my understanding, this will only set the existing PSTNUSAGES not create new ones.
I wanted to create new one’s via PowerShell.
In gui it’s available so some command must also be running in the background when as we can do it from GUI. I need a way for new PSTNUSAGE not add to existing ones.

I  thought as much too - but the online help does say "this cmdlet can be used to add usages to the list of PSTN usages" so are you saying microsoft is wrong? ... :)

 

Set-CsPstnUsage -Identity global -Usage @{Add = } -Verbose

Take a look at https://www.skypeoptimizer.com by Ken Lasko