Skip to content

Commit 7bf8ff8

Browse files
authored
Merge pull request #10379 from JensTrier/JensUpdates2
Small updates
2 parents 8aa5723 + 8156e18 commit 7bf8ff8

File tree

4 files changed

+20
-25
lines changed

4 files changed

+20
-25
lines changed

skype/skype-ps/skype/New-CsCallingLineIdentity.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ New-CsCallingLineIdentity [-Identity] <string> [-BlockIncomingPstnCallerID <bool
2424
```
2525

2626
## DESCRIPTION
27+
28+
**Note**: The use of CallingIDSubstitute Service will be deprecated. You should start using CallingIDSubstitute Resource as soon as possible.
29+
2730
You can either change or block the Caller ID (also called a Calling Line ID) for a user. By default, the Teams or Skype for Business Online user's phone number can be seen when that user makes a call to a PSTN phone, or when a call comes in. You can create a Caller ID policy to provide an alternate displayed number, or to block any number from being displayed.
2831

2932
Note:
@@ -41,29 +44,22 @@ New-CsCallingLineIdentity -Identity Anonymous -Description "anonymous policy" -C
4144

4245
This example creates a new Caller ID policy that sets the Caller ID to Anonymous.
4346

44-
### Example 2
45-
```
46-
New-CsCallingLineIdentity -Identity "UKOrgAA" -CallingIdSubstitute "Service" -ServiceNumber "14258828080" -EnableUserOverride $false -Verbose
47-
```
48-
49-
This example creates a new Caller ID policy that sets the Caller ID to a specified service number.
50-
51-
### Example 3
47+
### Example 2
5248
```
5349
New-CsCallingLineIdentity -Identity Anonymous -Description "anonymous policy" -CallingIDSubstitute Anonymous -EnableUserOverride $false -BlockIncomingPstnCallerID $true
5450
```
5551

5652
This example creates a new Caller ID policy that blocks the incoming Caller ID.
5753

58-
### Example 4
54+
### Example 3
5955
```
6056
$ObjId = (Get-CsOnlineApplicationInstance -Identity [email protected]).ObjectId
6157
New-CsCallingLineIdentity -Identity DKCQ -CallingIDSubstitute Resource -EnableUserOverride $false -ResourceAccount $ObjId -CompanyName "Contoso"
6258
```
6359

6460
This example creates a new Caller ID policy that sets the Caller ID to the phone number of the specified resource account and sets the Calling party name to Contoso
6561

66-
### Example 5
62+
### Example 4
6763
```
6864
New-CsCallingLineIdentity -Identity AllowAnonymousForUsers -EnableUserOverride $true
6965
```
@@ -107,6 +103,8 @@ Accept wildcard characters: False
107103
```
108104
109105
### -CallingIDSubstitute
106+
**Note**: The use of CallingIDSubstitute Service will be deprecated. You should start using CallingIDSubstitute Resource as soon as possible.
107+
110108
The CallingIDSubstitute parameter lets you specify an alternate Caller ID. The default value is LineUri. Supported values are Anonymous, Service, LineUri, and Resource.
111109
112110
```yaml

skype/skype-ps/skype/New-CsOnlineLisCivicAddress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ NumberOfVoiceUsers : 0
6666

6767
### Example 1
6868
```powershell
69-
New-CsOnlineLisCivicAddress -HouseNumber 1 -StreetName 'Microsoft Way' -City Redmond -StateorProvince Washington -Country US -PostalCode 98052 -Description "West Coast Headquarters" -CompanyName Contoso -Latitude 47.63952 -Longitude -122.12781 -Elin MICROSOFT_ELIN
69+
New-CsOnlineLisCivicAddress -HouseNumber 1 -StreetName 'Microsoft Way' -City Redmond -StateorProvince Washington -CountryOrRegion US -PostalCode 98052 -Description "West Coast Headquarters" -CompanyName Contoso -Latitude 47.63952 -Longitude -122.12781 -Elin MICROSOFT_ELIN
7070
```
7171

7272
This example creates a new civic address described as "West Coast Headquarters": 1 Microsoft Way, Redmond WA, 98052 and sets the geo-coordinates.

skype/skype-ps/skype/Set-CsCallingLineIdentity.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ Set-CsCallingLineIdentity [[-Identity] <string>] [-BlockIncomingPstnCallerID <bo
2424
```
2525

2626
## DESCRIPTION
27+
28+
**Note**: The use of CallingIDSubstitute Service will be deprecated. You should start using CallingIDSubstitute Resource as soon as possible.
29+
2730
You can either change or block the Caller ID (also called a Calling Line ID) for a user.
2831
By default, the Microsoft Teams or Skype for Business Online user's phone number can be seen when that user makes a call to a PSTN phone, or when a call comes in.
2932
You can modify a Caller ID policy to provide an alternate displayed number, or to block any number from being displayed.
@@ -46,27 +49,20 @@ The user can override this setting.
4649

4750
### Example 2
4851
```
49-
PS C:\> Set-CsCallingLineIdentity -Identity "UKOrgAA" -CallingIdSubstitute "Service" -ServiceNumber "14258828080"
50-
```
51-
52-
This example modifies the UKOrgAA Caller ID policy to sets the Caller ID to a specified service number.
53-
54-
### Example 3
55-
```
5652
PS C:\> Set-CsCallingLineIdentity -Identity Anonymous -Description "anonymous policy" -CallingIDSubstitute Anonymous -EnableUserOverride $false -BlockIncomingPstnCallerID $true
5753
```
5854

5955
This example modifies the new Anonymous Caller ID policy that blocks the incoming Caller ID.
6056

61-
### Example 4
57+
### Example 3
6258
```
6359
$ObjId = (Get-CsOnlineApplicationInstance -Identity [email protected]).ObjectId
6460
Set-CsCallingLineIdentity -Identity DKCQ -CallingIDSubstitute Resource -ResourceAccount $ObjId -CompanyName "Contoso"
6561
```
6662

6763
This example modifies the Caller ID policy that sets the Caller ID to the phone number of the specified resource account and sets the Calling party name to Contoso
6864

69-
### Example 5
65+
### Example 4
7066
```
7167
Set-CsCallingLineIdentity -Identity AllowAnonymousForUsers -EnableUserOverride $true
7268
```
@@ -96,6 +92,8 @@ Accept wildcard characters: False
9692
```
9793
9894
### -CallingIDSubstitute
95+
**Note**: The use of CallingIDSubstitute Service will be deprecated. You should start using CallingIDSubstitute Resource as soon as possible.
96+
9997
The CallingIDSubstitute parameter lets you specify an alternate Caller ID.
10098
The possible values are Anonymous, Service, LineUri and Resource.
10199

teams/teams-ps/teams/Set-CsPhoneNumberAssignment.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ This example assigns the Direct Routing phone number +1 (425) 555-1225 to the re
7777

7878
### Example 6
7979
```powershell
80-
Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber "+14255551000;ext=100" -PhoneNumberType DirectRouting
80+
Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber "+14255551000;ext=1234" -PhoneNumberType DirectRouting
8181
```
82-
This example assigns the Direct Routing phone number +1 (425) 555-1000;ext=100 to the user [email protected].
82+
This example assigns the Direct Routing phone number +1 (425) 555-1000;ext=1234 to the user [email protected].
8383

8484
### Example 7
8585
```powershell
86-
Try { Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber "+14255551000;ext=100" -PhoneNumberType DirectRouting -ErrorAction Stop } Catch { Write-Host An error occured }
86+
Try { Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber "+14255551000;ext=1234" -PhoneNumberType DirectRouting -ErrorAction Stop } Catch { Write-Host An error occured }
8787
```
8888
This example shows how to use Try/Catch and ErrorAction to perform error checking on the assignment cmdlet failing.
8989

@@ -141,8 +141,7 @@ Accept wildcard characters: False
141141
### -PhoneNumber
142142
The phone number to assign to the user or resource account. Supports E.164 format like +12065551234 and non-E.164 format like 12065551234. The phone number can not have "tel:" prefixed.
143143
144-
We support Direct Routing numbers with extensions using the formats +1206555000;ext=1234 or 1206555000;ext=1234 assigned to a user, but such phone numbers are
145-
not supported to be assigned to a resource account.
144+
We support Direct Routing numbers with extensions using the formats +1206555000;ext=1234 or 1206555000;ext=1234 assigned to a user or resource account.
146145
147146
Setting a phone number will automatically set EnterpriseVoiceEnabled to True.
148147

0 commit comments

Comments
 (0)