Remove-CsPhoneNumberTenantConfiguration
This cmdlet allows the admins to remove a tenant default configuration that applies to all telephone numbers within the tenant.
Syntax
Default (Default)
Remove-CsPhoneNumberTenantConfiguration
[-AssignmentEmailEnabled]
[-UnassignmentEmailEnabled]
[-AssignmentBlockedForever]
[-AssignmentBlockedDays]
[-AllowOnPremToOnlineMigration]
[<CommonParameters>]
Description
This cmdlet allows the teams phone administrators to remove a tenant default configuration that applies to all the telephone numbers within the tenant.
Examples
Example 1
PS C:\> Remove-CsPhoneNumberTenantConfiguration -AssignmentEmailEnabled -UnassignmentEmailEnabled
The above example shows how to remove email notification configuration setting for all the telephone number assignment and unassignment operations within the tenant.
Example 2
PS C:\> Remove-CsPhoneNumberTenantConfiguration -AssignmentBlockedForever
The above example shows how to remove the indefinite assignment block configuration for all the telephone numbers within the tenant.
Parameters
-AllowOnPremToOnlineMigration
Indicates the configuration will be removed for allowing OnPremises direct routing numbers to be automatically migrated to online direct routing numbers if an online operation is performed.
Parameter properties
| Type: | System.Management.Automation.SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-AssignmentBlockedDays
Indicates the assignment blocked days configuration will be removed.
Parameter properties
| Type: | System.Management.Automation.SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-AssignmentBlockedForever
Indicates the assignment blocked forever configuration will be removed.
Parameter properties
| Type: | System.Management.Automation.SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-AssignmentEmailEnabled
Indicates the assignment email notification configuration will be removed.
Parameter properties
| Type: | System.Management.Automation.SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-UnassignmentEmailEnabled
Indicates the unassignment email notification configuration will be removed.
Parameter properties
| Type: | System.Management.Automation.SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.