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 Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по