You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: teams/teams-ps/teams/Export-CsAcquiredPhoneNumber.md
+20-5Lines changed: 20 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -61,21 +61,36 @@ By default, this cmdlet returns all the phone numbers acquired by the tenant wit
61
61
62
62
### Example 1
63
63
```powershell
64
-
Export-CsAcquiredPhoneNumber
64
+
PS C:\> Export-CsAcquiredPhoneNumber
65
65
```
66
66
```output
67
-
OrderId : 0e923e2c-ab0e-4b7a-be5a-906be8c
67
+
0e923e2c-ab0e-4b7a-be5a-906be8c
68
68
```
69
-
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.
69
+
This example displays the output of the export acquired phone numbers operation. The OrderId shown as the output string and can be used to get the download link for the file.
This example displays the output of the export acquired phone numbers operation with filtered properties. This file will only contain the properties indicated.
79
+
80
+
### Example 3
81
+
```powershell
82
+
PS C:\> $orderId = Export-CsAcquiredPhoneNumber
83
+
```
84
+
This example displays the use of variable "orderId" for the export acquired phone numbers operation. The OrderId string will be stored in the variable named "orderId" and no output will be shown for the cmdlet.
This example displays the OrderId of the export acquired phone numbers operation. This file will only contain the properties indicated.
93
+
This example displays the use of variable "orderId" for the export acquired phone numbers operation with filtered properties. The OrderId string will be stored in the variable named "orderId" and no output will be shown for the cmdlet.
This cmdlet returns the status of the [Export-CsAcquiredPhoneNumber](Export-CsAcquiredPhoneNumber.md) operation. The response will include the download link to the file if operation has been completed.
28
28
29
-
By Default the download link will remain active for 1 hour.
29
+
By default, the download link will remain active for 1 hour.
This example displays the status of the export acquired phone numbers operation. The OrderId is the output from [Export-CsAcquiredPhoneNumber](Export-CsAcquiredPhoneNumber.md) cmdlet. The status contains the download link for the file along with expiry date.
This example stores the [Get-CsExportAcquiredPhoneNumberStatus](Get-CsExportAcquiredPhoneNumberStatus.md) cmdlet status for the "orderId" in the variable "order". This will allow a quick view of the order status without typing the cmdlet again.
0 commit comments