Skip to content

Commit 81993ad

Browse files
committed
Remove extra spaces in code examples
1 parent 41ea9ff commit 81993ad

8 files changed

+16
-15
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ This example creates a new Caller ID policy that sets the Caller ID to a specifi
5151

5252
### -------------------------- Example 3 --------------------------
5353
```
54-
New-CsCallingLineIdentity -Identity Anonymous -Description "anonymous policy" -CallingIDSubstitute Anonymous -EnableUserOverride $false -BlockIncomingPstnCallerID $true
54+
New-CsCallingLineIdentity -Identity Anonymous -Description "anonymous policy" -CallingIDSubstitute Anonymous -EnableUserOverride $false -BlockIncomingPstnCallerID $true
5555
```
5656

5757
This example creates a new Caller ID policy that blocks the incoming Caller ID.
5858

5959
### Example 4
6060
```
6161
$ObjId = (Get-CsOnlineApplicationInstance -Identity [email protected]).ObjectId
62-
New-CsCallingLineIdentity -Identity DKCQ -CallingIDSubstitute Resource -EnableUserOverride $false -ResourceAccount $ObjId -CompanyName "Contoso"
62+
New-CsCallingLineIdentity -Identity DKCQ -CallingIDSubstitute Resource -EnableUserOverride $false -ResourceAccount $ObjId -CompanyName "Contoso"
6363
```
6464

6565
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

skype/skype-ps/skype/New-CsExternalAccessPolicy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ Note that this new policy sets both the EnableFederationAccess and the EnableOut
8484

8585
### -------------------------- Example 2 ------------------------
8686
```
87-
Set-CsExternalAccessPolicy -Identity Global -EnableAcsFederationAccess $true
88-
New-CsExternalAccessPolicy -Identity AcsFederationNotAllowed -EnableAcsFederationAccess $false
87+
Set-CsExternalAccessPolicy -Identity Global -EnableAcsFederationAccess $true
88+
New-CsExternalAccessPolicy -Identity AcsFederationNotAllowed -EnableAcsFederationAccess $false
8989
```
9090

9191
In this example, the Global policy is updated to allow Teams-ACS federation for all users, then a new external access policy instance is created with Teams-ACS federation disabled and which can then be assigned to selected users for which Team-ACS federation will not be allowed.

skype/skype-ps/skype/New-CsInboundExemptNumberPattern.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ New-CsInboundExemptNumberPattern [-Tenant <Guid>] -Name <String> [-Enabled <Bool
3636
### EXAMPLE 1
3737

3838
```powershell
39-
PS C:> New-CsInboundExemptNumberPattern -Identity "AllowContoso1" -Pattern "^\+?1312555888[2|3]$" -Description "Allow Contoso helpdesk" -Enabled $True
39+
PS C:> New-CsInboundExemptNumberPattern -Identity "AllowContoso1" -Pattern "^\+?1312555888[2|3]$" -Description "Allow Contoso helpdesk" -Enabled $True
4040
```
4141

4242
Creates a new inbound exempt number pattern for the numbers 1 (312) 555-88882 and 1 (312) 555-88883 and enables it

skype/skype-ps/skype/New-CsOnlineDateTimeRange.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ New-CsOnlineDateTimeRange -Start <String> [-End <String>] [-Tenant <Guid>] [<Com
2424
## DESCRIPTION
2525
The New-CsOnlineDateTimeRange cmdlet creates a new date-time range to be used with the Organizational Auto Attendant (OAA) service. Date time ranges are used to form schedules.
2626

27-
**NOTE**
27+
**NOTE**:
28+
2829
- The start bound of the range must be less than its end bound.
2930
- The time part of the range must be aligned with 30/60-minutes boundaries.
3031
- A date time range bound can only be input in the following formats:

skype/skype-ps/skype/New-CsTeamsUpgradePolicy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ Notes:
3838
### Example 1: Create a site-level policy
3939

4040
```powershell
41-
PS C:\> new-CsTeamsUpgradePolicy -identity site:Redmond1 -NotifySfBUsers $true
41+
PS C:\> new-CsTeamsUpgradePolicy -identity site:Redmond1 -NotifySfBUsers $true
4242
```
4343

4444
This creates a policy for users in the site Redmond1.
4545

4646
### Example 2: Create a policy not specific to a site.
4747

4848
```powershell
49-
PS C:\> new-CsTeamsUpgradePolicy -identity EnableNotifications -NotifySfBUsers $true
49+
PS C:\> new-CsTeamsUpgradePolicy -identity EnableNotifications -NotifySfBUsers $true
5050
```
5151

5252
This creates a policy for users that can be granted as desired to individual users

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ This example modifies the new Anonymous Caller ID policy that blocks the incomin
7171
### Example 4
7272
```
7373
$ObjId = (Get-CsOnlineApplicationInstance -Identity [email protected]).ObjectId
74-
Set-CsCallingLineIdentity -Identity DKCQ -CallingIDSubstitute Resource -ResourceAccount $ObjId -CompanyName "Contoso"
74+
Set-CsCallingLineIdentity -Identity DKCQ -CallingIDSubstitute Resource -ResourceAccount $ObjId -CompanyName "Contoso"
7575
```
7676

7777
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

skype/skype-ps/skype/Set-CsExternalAccessPolicy.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,16 +114,16 @@ The net result: all external access policies that allow public cloud access will
114114

115115
### -------------------------- Example 5 ------------------------
116116
```
117-
Set-CsExternalAccessPolicy -Identity Global -EnableAcsFederationAccess $false
118-
New-CsExternalAccessPolicy -Identity AcsFederationAllowed -EnableAcsFederationAccess $true
117+
Set-CsExternalAccessPolicy -Identity Global -EnableAcsFederationAccess $false
118+
New-CsExternalAccessPolicy -Identity AcsFederationAllowed -EnableAcsFederationAccess $true
119119
```
120120

121121
In this example, the Global policy is updated to disallow Teams-ACS federation for all users, then a new external access policy instance is created with Teams-ACS federation enabled and which can be assigned to selected users for which Team-ACS federation will be allowed.
122122

123123
### -------------------------- Example 5 ------------------------
124124
```
125-
Set-CsExternalAccessPolicy -Identity Global -EnableAcsFederationAccess $true
126-
New-CsExternalAccessPolicy -Identity AcsFederationNotAllowed -EnableAcsFederationAccess $false
125+
Set-CsExternalAccessPolicy -Identity Global -EnableAcsFederationAccess $true
126+
New-CsExternalAccessPolicy -Identity AcsFederationNotAllowed -EnableAcsFederationAccess $false
127127
```
128128

129129
In this example, the Global policy is updated to allow Teams-ACS federation for all users, then a new external access policy instance is created with Teams-ACS federation disabled and which can then be assigned to selected users for which Team-ACS federation will not be allowed.

skype/skype-ps/skype/Set-CsInboundExemptNumberPattern.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ This cmdlet modifies one or more parameters of a exempt number pattern in the te
2424
### EXAMPLE 1
2525

2626
```powershell
27-
PS C:> Set-CsInboundExemptNumberPattern -Identity "AllowContoso1" -Pattern "^\+?1312555888[2|3]$"
27+
PS C:> Set-CsInboundExemptNumberPattern -Identity "AllowContoso1" -Pattern "^\+?1312555888[2|3]$"
2828
```
2929

3030
Sets the inbound exempt number pattern for AllowContoso1
3131

3232
### EXAMPLE 2
3333

3434
```powershell
35-
PS C:> Set-CsInboundExemptNumberPattern -Identity "AllowContoso1" -Enabled $False
35+
PS C:> Set-CsInboundExemptNumberPattern -Identity "AllowContoso1" -Enabled $False
3636
```
3737

3838
Disables the exempt number pattern from usage in call blocking

0 commit comments

Comments
 (0)