Skip to content

Commit 923c653

Browse files
authored
Replace en dashes with hyphens in command lines (#5158)
1 parent 5fea310 commit 923c653

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

Contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Once your changes are successfully merged into the main repository, delete the b
160160
#### To delete a branch
161161

162162
1. In the Git Bash command prompt, type `git checkout main`. This ensures that you aren't in the branch to be deleted (which isn't allowed).
163-
2. Next, at the command prompt, type `git branch -d <branch name>`. This deletes the branch on your computer only if it has been successfully merged to the upstream repository. (You can override this behavior with the `D` flag, but first be sure you want to do this.)
163+
2. Next, at the command prompt, type `git branch -d <branch name>`. This deletes the branch on your computer only if it has been successfully merged to the upstream repository. (You can override this behavior with the `-D` flag, but first be sure you want to do this.)
164164
3. Finally, type `git push origin :<branch name>` at the command prompt (a space before the colon and no space after it). This will delete the branch on your GitHub fork.
165165

166166
Congratulations, you have successfully contributed to the project!

docs/outlook/faq-nested-app-auth-outlook-legacy-tokens.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ Use the following steps to perform the test.
6868

6969
1. Run the following command to turn off legacy Exchange Online tokens on your tenant. For details on how to use this command, see [Turn legacy Exchange Online tokens on or off](turn-exchange-tokens-on-off.md).
7070

71-
`Set-AuthenticationPolicy BlockLegacyExchangeTokens -Identity "LegacyExchangeTokens"`
71+
`Set-AuthenticationPolicy -BlockLegacyExchangeTokens -Identity "LegacyExchangeTokens"`
7272

7373
1. Wait a suitable amount of time for users to report any issues with add-ins. It takes approximately 24 hours for the command to turn off legacy Exchange Online tokens for all users. It may take another day or two for users to report any issues with Outlook add-ins.
7474
1. Identify any affected Outlook add-ins. If users submit issues identifying breaking issues, be sure to get the name and description of the Outlook add-in affected. Also capture the error, or behavior so this information can be passed along to the publisher.
7575
1. If any business-critical add-ins are broken, turn tokens back on using the following command. For details on how to use this command, see [Turn legacy Exchange Online tokens on or off](turn-exchange-tokens-on-off.md).
7676

77-
`Set-AuthenticationPolicy AllowLegacyExchangeTokens -Identity "LegacyExchangeTokens"`
77+
`Set-AuthenticationPolicy -AllowLegacyExchangeTokens -Identity "LegacyExchangeTokens"`
7878

7979
It takes approximately 24 hours for tokens to turn back on for all users on the tenant.
8080

docs/outlook/outlook-on-send-addins.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Add-ins for Outlook on the web (modern) and new Outlook on Windows that use the
115115
To install a new add-in, run the following Exchange Online PowerShell cmdlets.
116116

117117
```powershell
118-
$Data=Get-Content -Path '.\Contoso Message Body Checker.xml' -Encoding Byte ReadCount 0
118+
$Data=Get-Content -Path '.\Contoso Message Body Checker.xml' -Encoding Byte -ReadCount 0
119119
```
120120

121121
```powershell
@@ -143,7 +143,7 @@ For all users, to disallow editing while on-send add-ins are processing:
143143
1. Enforce compliance on send.
144144

145145
```powershell
146-
Get-OWAMailboxPolicy OWAOnSendAddinAllUserPolicy | Set-OWAMailboxPolicy OnSendAddinsEnabled:$true
146+
Get-OWAMailboxPolicy OWAOnSendAddinAllUserPolicy | Set-OWAMailboxPolicy -OnSendAddinsEnabled:$true
147147
```
148148

149149
1. Assign the policy to users.
@@ -168,7 +168,7 @@ To enforce on-send compliance for a specific group of users, the steps are as fo
168168
1. Enforce compliance on send.
169169

170170
```powershell
171-
Get-OWAMailboxPolicy FinanceOWAPolicy | Set-OWAMailboxPolicy OnSendAddinsEnabled:$true
171+
Get-OWAMailboxPolicy FinanceOWAPolicy | Set-OWAMailboxPolicy -OnSendAddinsEnabled:$true
172172
```
173173

174174
1. Assign the policy to users.
@@ -186,7 +186,7 @@ To enforce on-send compliance for a specific group of users, the steps are as fo
186186
To turn off on-send compliance enforcement for a user, assign a mailbox policy that doesn't have the flag enabled by running the following cmdlets. In this example, the mailbox policy is *ContosoCorpOWAPolicy*.
187187

188188
```powershell
189-
Get-CASMailbox [email protected] | Set-CASMailbox OWAMailboxPolicy "ContosoCorpOWAPolicy"
189+
Get-CASMailbox [email protected] | Set-CASMailbox -OWAMailboxPolicy "ContosoCorpOWAPolicy"
190190
```
191191

192192
> [!NOTE]
@@ -195,7 +195,7 @@ Get-CASMailbox [email protected] | Set-CASMailbox –OWAMailboxPolicy "ContosoCorp
195195
To turn off on-send compliance enforcement for all users that have a specific Outlook on the web or new Outlook on Windows mailbox policy assigned, run the following cmdlets.
196196

197197
```powershell
198-
Get-OWAMailboxPolicy OWAOnSendAddinAllUserPolicy | Set-OWAMailboxPolicy OnSendAddinsEnabled:$false
198+
Get-OWAMailboxPolicy OWAOnSendAddinAllUserPolicy | Set-OWAMailboxPolicy -OnSendAddinsEnabled:$false
199199
```
200200

201201
# [Web browser (classic)](#tab/classic)
@@ -205,7 +205,7 @@ Add-ins for Outlook on the web (classic) that use the on-send feature will run f
205205
To install a new add-in, run the following Exchange Online PowerShell cmdlets.
206206

207207
```powershell
208-
$Data=Get-Content -Path '.\Contoso Message Body Checker.xml' -Encoding Byte ReadCount 0
208+
$Data=Get-Content -Path '.\Contoso Message Body Checker.xml' -Encoding Byte -ReadCount 0
209209
```
210210

211211
```powershell
@@ -233,7 +233,7 @@ To enable on-send add-ins for all users:
233233
1. Enable the on-send feature.
234234

235235
```powershell
236-
Get-OWAMailboxPolicy OWAOnSendAddinAllUserPolicy | Set-OWAMailboxPolicy OnSendAddinsEnabled:$true
236+
Get-OWAMailboxPolicy OWAOnSendAddinAllUserPolicy | Set-OWAMailboxPolicy -OnSendAddinsEnabled:$true
237237
```
238238

239239
1. Assign the policy to users.
@@ -258,7 +258,7 @@ To enable the on-send feature for a specific group of users the steps are as fol
258258
1. Enable the on-send feature.
259259

260260
```powershell
261-
Get-OWAMailboxPolicy FinanceOWAPolicy | Set-OWAMailboxPolicy OnSendAddinsEnabled:$true
261+
Get-OWAMailboxPolicy FinanceOWAPolicy | Set-OWAMailboxPolicy -OnSendAddinsEnabled:$true
262262
```
263263

264264
1. Assign the policy to users.
@@ -276,7 +276,7 @@ To enable the on-send feature for a specific group of users the steps are as fol
276276
To disable the on-send feature for a user or assign an Outlook on the web mailbox policy that does not have the flag enabled, run the following cmdlets. In this example, the mailbox policy is *ContosoCorpOWAPolicy*.
277277

278278
```powershell
279-
Get-CASMailbox [email protected] | Set-CASMailbox OWAMailboxPolicy "ContosoCorpOWAPolicy"
279+
Get-CASMailbox [email protected] | Set-CASMailbox -OWAMailboxPolicy "ContosoCorpOWAPolicy"
280280
```
281281

282282
> [!NOTE]
@@ -285,7 +285,7 @@ Get-CASMailbox [email protected] | Set-CASMailbox –OWAMailboxPolicy "ContosoCorp
285285
To disable the on-send feature for all users that have a specific Outlook on the web mailbox policy assigned, run the following cmdlets.
286286

287287
```powershell
288-
Get-OWAMailboxPolicy OWAOnSendAddinAllUserPolicy | Set-OWAMailboxPolicy OnSendAddinsEnabled:$false
288+
Get-OWAMailboxPolicy OWAOnSendAddinAllUserPolicy | Set-OWAMailboxPolicy -OnSendAddinsEnabled:$false
289289
```
290290

291291
# [Windows (classic)](#tab/windows)

docs/outlook/turn-exchange-tokens-on-off.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The `Set-AuthenticationPolicy` command controls the issuance of legacy Exchange
2828

2929
To turn legacy tokens off, run the following command.
3030

31-
`Set-AuthenticationPolicy BlockLegacyExchangeTokens -Identity "LegacyExchangeTokens"`
31+
`Set-AuthenticationPolicy -BlockLegacyExchangeTokens -Identity "LegacyExchangeTokens"`
3232

3333
The command turns off legacy tokens for the entire tenant. If an Outlook add-in requests a legacy token, it won’t be issued a token.
3434

@@ -39,7 +39,7 @@ The command turns off legacy tokens for the entire tenant. If an Outlook add-in
3939

4040
To turn legacy tokens on, run the following command. It can take up to 24 hours before all requests from Outlook add-ins for legacy tokens are allowed.
4141

42-
`Set-AuthenticationPolicy AllowLegacyExchangeTokens -Identity "LegacyExchangeTokens"`
42+
`Set-AuthenticationPolicy -AllowLegacyExchangeTokens -Identity "LegacyExchangeTokens"`
4343

4444
Important notes about this command.
4545

0 commit comments

Comments
 (0)