- Joined
- Jan 24, 2022
- Messages
- 9
- Reaction score
- 1
Hello! When I run the script after installing Microsoft Teams powershell module it ctreated only this one:
As for others commands it stopped at:
New-CsOnlinePSTNGateway -Fqdn teams.chemservice.su -Enabled $true -SipSignalingPort 5062 -MaxConcurrentSessions 100 -ForwardCallHistory $true -ForwardPai $true
As for others commands it stopped at:
saying the following:Set-CsOnlinePstnUsage -Identity Global -Usage @{add="3CX PSTN Usage"}
What is the problem?PS C:\Teams> Set-CsOnlinePstnUsage -Identity Global -Usage @{add="3CX PSTN Usage"}
Set-CsOnlinePstnUsage : Unable to cast object of type 'System.Management.Automation.PSListModifier' to type 'System.Str
ing'.
строка:1 знак:1
+ Set-CsOnlinePstnUsage -Identity Global -Usage @{add="3CX PSTN Usage"}
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified:) [Set-CsOnlinePstnUsage], InvalidCastException
+ FullyQualifiedErrorId : System.InvalidCastException,Microsoft.Rtc.Management.Internal.SetOnlinePstnUsageCmdlet