Export-CsAcquiredPhoneNumber
This cmdlet exports the list of phone numbers acquired by Teams Phone tenant.
Syntax
Export-CsAcquiredPhoneNumber
[-Property <String>]
Description
This cmdlet exports all the acquired phone numbers by the tenant to a file. The cmdlet is an asynchronus operation and will return an OrderId. Get-CsExportAcquiredPhoneNumberStatus cmdlet can be used to check the status of the OrderId including the download link to exported file.
By default, this cmdlet returns all the phone numbers acquired by the tenant with all corresponding properties in the results. The tenant admin may indicate specific properties as an input to get a list with only selected properties in the file.
**Available properties to use are: **
- TelephoneNumber
- OperatorId
- NumberType
- LocationId
- CivicAddressId
- NetworkSiteId
- AvailableCapabilities
- AcquiredCapabilities
- BlockId
- RangeId
- AssignmentStatus
- PlaceName
- ActivationState
- PartnerName
- IsOperatorConnect
- IsoCountryCode
- PortInOrderStatus
- DsuSupported
- CapabilityUpdateSupported
- LocationUpdateSupported
- AcquisitionDate
- TargetId
- TargetType
- AssignmentCategory
- SmsCampaignBriefs
- CallingProfileId
- IsoSubdivisionCode
- NumberSource
- ResourceAccountSharedCallingPolicySupported
- SupportedCustomerActions
- ReverseNumberLookup
- RoutingOptions
Examples
Example 1
Export-CsAcquiredPhoneNumber
OrderId : 0e923e2c-ab0e-4b7a-be5a-906be8c
This example displays the OrderId of the export acquired phone numbers operation. The OrderId can be used to get the download link for the file.
Example 2
Export-CsAcquiredPhoneNumber -Property "TelephoneNumber, NumberType, AssignmentStatus"
OrderId : 0e923e2c-ab0e-6h8c-be5a-906be8c
This example displays the OrderId of the export acquired phone numbers operation. This file will only contain the properties indicated.
Parameters
-Property
{{ Fill Property Description }}
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
System.String
Notes
The cmdlet is available in Teams PowerShell module 6.1.0 or later.
The cmdlet is only available in commercial and GCC cloud instances.
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈