From a4ed97e54d53d9635def70403b3a966e6d5d444a Mon Sep 17 00:00:00 2001 From: Andrei Kazachenka <184194302+akazachenka@users.noreply.github.com> Date: Tue, 8 Oct 2024 08:54:45 +0300 Subject: [PATCH 1/5] Update New-CsTeamsCallingPolicy.md Add new properties for Pay-As-You-Go Calling Spend Limits feature --- .../teams/New-CsTeamsCallingPolicy.md | 70 ++++++++++++++++--- 1 file changed, 62 insertions(+), 8 deletions(-) diff --git a/teams/teams-ps/teams/New-CsTeamsCallingPolicy.md b/teams/teams-ps/teams/New-CsTeamsCallingPolicy.md index 157db30fb3..8283de1e37 100644 --- a/teams/teams-ps/teams/New-CsTeamsCallingPolicy.md +++ b/teams/teams-ps/teams/New-CsTeamsCallingPolicy.md @@ -20,14 +20,37 @@ Use this cmdlet to create a new instance of a Teams Calling Policy. ### Identity (Default) ``` -New-CsTeamsCallingPolicy [-Identity] [-Description ] [-AllowPrivateCalling ] [-AllowWebPSTNCalling ] - [-AllowSIPDevicesCalling ] [-AllowVoicemail ] [-AllowCallGroups ] [-AllowDelegation ] - [-AllowCallForwardingToUser ] [-AllowCallForwardingToPhone ] [-PreventTollBypass ] - [-BusyOnBusyEnabledType ] [-MusicOnHoldEnabledType ] [-AllowCloudRecordingForCalls ] - [-AllowTranscriptionForCalling ] [-PopoutForIncomingPstnCalls ] [-PopoutAppPathForIncomingPstnCalls ] - [-LiveCaptionsEnabledTypeForCalling ] [-AutoAnswerEnabledType ] [-SpamFilteringEnabledType ] - [-CallRecordingExpirationDays ] [-AllowCallRedirect ] [-EnableWebPstnMediaBypass ] - [-InboundPstnCallRoutingTreatment ] [-InboundFederatedCallRoutingTreatment ] [-Force] [-WhatIf] [-Confirm] [] +New-CsTeamsCallingPolicy [-Identity] + [-Description ] + [-AllowPrivateCalling ] + [-AllowWebPSTNCalling ] + [-AllowSIPDevicesCalling ] + [-AllowVoicemail ] + [-AllowCallGroups ] + [-AllowDelegation ] + [-AllowCallForwardingToUser ] + [-AllowCallForwardingToPhone ] + [-PreventTollBypass ] + [-BusyOnBusyEnabledType ] + [-MusicOnHoldEnabledType ] + [-AllowCloudRecordingForCalls ] + [-AllowTranscriptionForCalling ] + [-PopoutForIncomingPstnCalls ] + [-PopoutAppPathForIncomingPstnCalls ] + [-LiveCaptionsEnabledTypeForCalling ] + [-AutoAnswerEnabledType ] + [-SpamFilteringEnabledType ] + [-CallRecordingExpirationDays ] + [-AllowCallRedirect ] + [-EnableWebPstnMediaBypass ] + [-InboundPstnCallRoutingTreatment ] + [-InboundFederatedCallRoutingTreatment ] + [-PayAsYouGoSpendingLimits ] + [-PayAsYouGoSpendingUserLimit ] + [-Force] + [-WhatIf] + [-Confirm] + [] ``` ## DESCRIPTION @@ -500,6 +523,37 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PayAsYouGoSpendingLimits +Determines if spending limit is enabled for pay-as-you-go PSTN calls. + +```yaml +Type: Boolean +Parameter Sets: (All) +Aliases: +Applicable: Microsoft Teams + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PayAsYouGoSpendingUserLimit +Determines the value of spending limit for a user making pay-as-you-go PSTN calls. +```yaml +Type: Long +Parameter Sets: (All) +Aliases: +Applicable: Microsoft Teams + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Force Suppresses any confirmation prompts that would otherwise be displayed before making changes. From 4b83ce2612e2e38b943195c751f495964d12fc4a Mon Sep 17 00:00:00 2001 From: Andrei Kazachenka <184194302+akazachenka@users.noreply.github.com> Date: Tue, 8 Oct 2024 09:02:34 +0300 Subject: [PATCH 2/5] Update Set-CsTeamsCallingPolicy.md Add new properties for Pay-As-You-Go Calling Spend Limits feature --- .../teams/Set-CsTeamsCallingPolicy.md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md b/teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md index e99b0928f5..87bc3f9373 100644 --- a/teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md +++ b/teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md @@ -44,6 +44,8 @@ Set-CsTeamsCallingPolicy [-Identity] [-PopoutForIncomingPstnCalls ] [-PreventTollBypass ] [-SpamFilteringEnabledType ] + [-PayAsYouGoSpendingLimits ] + [-PayAsYouGoSpendingUserLimit ] [-WhatIf] [] ``` @@ -484,6 +486,38 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PayAsYouGoSpendingLimits +Determines if spending limit is enabled for pay-as-you-go PSTN calls. + +```yaml +Type: Boolean +Parameter Sets: (All) +Aliases: +Applicable: Microsoft Teams + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PayAsYouGoSpendingUserLimit +Determines the value of spending limit for a user making pay-as-you-go PSTN calls. + +```yaml +Type: Long +Parameter Sets: (All) +Aliases: +Applicable: Microsoft Teams + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Force Suppresses any confirmation prompts that would otherwise be displayed before making changes. From f89c94f95fd19f0867c1e77e98f5186e42a3ca7c Mon Sep 17 00:00:00 2001 From: Andrei Kazachenka <184194302+akazachenka@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:42:03 +0300 Subject: [PATCH 3/5] Update New-CsTeamsCallingPolicy.md --- teams/teams-ps/teams/New-CsTeamsCallingPolicy.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teams/teams-ps/teams/New-CsTeamsCallingPolicy.md b/teams/teams-ps/teams/New-CsTeamsCallingPolicy.md index 8283de1e37..3378108ceb 100644 --- a/teams/teams-ps/teams/New-CsTeamsCallingPolicy.md +++ b/teams/teams-ps/teams/New-CsTeamsCallingPolicy.md @@ -541,6 +541,9 @@ Accept wildcard characters: False ### -PayAsYouGoSpendingUserLimit Determines the value of spending limit for a user making pay-as-you-go PSTN calls. + +Possible values are any positive integer. + ```yaml Type: Long Parameter Sets: (All) From f86552a0b0b1d2ca02d4348ba7a3a486678a9d58 Mon Sep 17 00:00:00 2001 From: Andrei Kazachenka <184194302+akazachenka@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:42:40 +0300 Subject: [PATCH 4/5] Update Set-CsTeamsCallingPolicy.md --- teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md b/teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md index 87bc3f9373..3dd0e09875 100644 --- a/teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md +++ b/teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md @@ -505,6 +505,8 @@ Accept wildcard characters: False ### -PayAsYouGoSpendingUserLimit Determines the value of spending limit for a user making pay-as-you-go PSTN calls. +Possible values are any positive integer. + ```yaml Type: Long Parameter Sets: (All) From 1248f536e091eefda1489ea251b94abce76da9f6 Mon Sep 17 00:00:00 2001 From: Andrei Kazachenka <184194302+akazachenka@users.noreply.github.com> Date: Mon, 21 Oct 2024 13:27:56 +0300 Subject: [PATCH 5/5] fix Set-CsTeamsCallingPolicy --- teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md b/teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md index 23fa718133..7cf48196da 100644 --- a/teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md +++ b/teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md @@ -36,7 +36,7 @@ Set-CsTeamsCallingPolicy [-Identity] [-CallRecordingExpirationDays ] [-Confirm] [-Force] - [-Copilot] ] + [-Copilot ] [-InboundFederatedCallRoutingTreatment ] [-InboundPstnCallRoutingTreatment ] [-LiveCaptionsEnabledTypeForCalling ]