MSTeams: Powershell for Linux
MSTeams Powershell for Linux
Not long ago, MS have released powershell package for Linux which means we, Linux users, can now natively manage MS services from our terminal.
Once installed we need to start powershell using the command
pwsh
Next we need to import MicrosoftTeams module using the command
Install-Module -Name MicrosoftTeams
We can now use MSTeams commands to check or configure our Teams tenant, for example
Get-CsOnlinePSTNGateway
Identity : connect.XXXXXXX
InboundTeamsNumberTranslationRules : {}
InboundPstnNumberTranslationRules : {}
OutboundTeamsNumberTranslationRules : {}
OutboundPstnNumberTranslationRules : {}
Fqdn : connect.XXXXXXX
SipSignalingPort : 5061
FailoverTimeSeconds : 10
ForwardCallHistory : False
ForwardPai : True
SendSipOptions : True
MaxConcurrentSessions : 24
Enabled : True
MediaBypass : False
GatewaySiteId :
GatewaySiteLbrEnabled : False
GatewayLbrEnabledUserOverride : False
FailoverResponseCodes : 408,503,504
PidfLoSupported : False
MediaRelayRoutingLocationOverride : AU
ProxySbc :
BypassMode : None
Description : XXXXXXX SBC

Comments
Post a Comment
Feel free to engage in conversation.
New problems are solved by new thinking.