Skip to content

Commit 9779bb0

Browse files
committed
Updating examples for Export-CsAcquiredPhoneNumber
1 parent e23d7f5 commit 9779bb0

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

teams/teams-ps/teams/Export-CsAcquiredPhoneNumber.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ By default, this cmdlet returns all the phone numbers acquired by the tenant wit
6161

6262
### Example 1
6363
```powershell
64-
Export-CsAcquiredPhoneNumber
64+
PS C:\> Export-CsAcquiredPhoneNumber
6565
```
6666
```output
6767
0e923e2c-ab0e-4b7a-be5a-906be8c
@@ -70,7 +70,7 @@ This example displays the output of the export acquired phone numbers operation.
7070

7171
### Example 2
7272
```powershell
73-
Export-CsAcquiredPhoneNumber -Property "TelephoneNumber, NumberType, AssignmentStatus"
73+
PS C:\> Export-CsAcquiredPhoneNumber -Property "TelephoneNumber, NumberType, AssignmentStatus"
7474
```
7575
```output
7676
0e923e2c-ab0e-6h8c-be5a-906be8c
@@ -79,13 +79,13 @@ This example displays the output of the export acquired phone numbers operation
7979

8080
### Example 3
8181
```powershell
82-
$orderId = Export-CsAcquiredPhoneNumber
82+
PS C:\> $orderId = Export-CsAcquiredPhoneNumber
8383
```
8484
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 "oderId" and no output will be shown for the cmdlet.
8585

8686
### Example 4
8787
```powershell
88-
Export-CsAcquiredPhoneNumber -Property "TelephoneNumber, NumberType, AssignmentStatus"
88+
PS C:\> Export-CsAcquiredPhoneNumber -Property "TelephoneNumber, NumberType, AssignmentStatus"
8989
```
9090
```output
9191
OrderId : 0e923e2c-ab0e-6h8c-be5a-906be8c

teams/teams-ps/teams/Get-CsExportAcquiredPhoneNumberStatus.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ By Default the download link will remain active for 1 hour.
3232

3333
### Example 1
3434
```powershell
35-
Get-CsExportAcquiredPhoneNumberStatus -OrderId 0e923e2c-ab0e-4b7a-be5a-906be8c
35+
PS C:\> Get-CsExportAcquiredPhoneNumberStatus -OrderId 0e923e2c-ab0e-4b7a-be5a-906be8c
3636
```
3737
```output
3838
Id : 0e923e2c-ab0e-4b7a-be5a-906be8c
@@ -45,15 +45,29 @@ This example displays the status of the export acquired phone numbers operation.
4545

4646
### Example 2
4747
```powershell
48-
Get-CsExportAcquiredPhoneNumberStatus -OrderId $orderId
48+
PS C:\> Get-CsExportAcquiredPhoneNumberStatus -OrderId $orderId
49+
```
50+
```output
51+
Id : 0e923e2c-ab0e-4b7a-be5a-906be8c
52+
CreatedAt : 2024-08-29 21:50:54Z
53+
status : Success
54+
DownloadLinkExpiry : 2024-08-29 22:51:17Z
55+
DownloadLinkExpiry :<link>
4956
```
5057
This example displays the status of the export acquired phone numbers operation with the use of variable named "orderId".
5158

5259
### Example 3
5360
```powershell
54-
$order = Get-CsExportAcquiredPhoneNumberStatus -OrderId $orderId
61+
PS C:\> $order = Get-CsExportAcquiredPhoneNumberStatus -OrderId $orderId
62+
PS C:\> $order
63+
```
64+
```output
65+
Id : 0e923e2c-ab0e-4b7a-be5a-906be8c
66+
CreatedAt : 2024-08-29 21:50:54Z
67+
status : Success
68+
DownloadLinkExpiry : 2024-08-29 22:51:17Z
69+
DownloadLinkExpiry :<link>
5570
```
56-
5771
This example stores the [Get-CsExportAcquiredPhoneNumberStatus] cmdlet status for the "oderId" in variable "oder". This will allow quick view of the order status without typing the cmdlet again.
5872

5973
## PARAMETERS

0 commit comments

Comments
 (0)