external help file | Module Name | online version | applicable | title | author | ms.author | ms.reviewer | manager | schema |
---|---|---|---|---|---|---|---|---|---|
Microsoft.Teams.ConfigAPI.Cmdlets-help.xml |
Microsoft.Teams.ConfigAPI.Cmdlets |
Microsoft Teams |
Export-CsAcquiredPhoneNumber |
pavellatif |
pavellatif |
roykuntz |
2.0.0 |
This cmdlet exports the list of phone numbers acquired by Teams Phone System tenant.
Export-CsAcquiredPhoneNumber [-Property <string>]
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.
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.
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.
Filters the returned results to only show the indicated properties in the file.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
- 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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
OrderId
The cmdlet is available in Teams PowerShell module 6.1.0 or later.
The cmdlet is only available in commercial and GCC cloud instances.