Skip to content

Commit 157b62f

Browse files
authored
Update New-SafeLinksPolicy.md
1 parent 19ddcfe commit 157b62f

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

exchange/exchange-ps/exchange/New-SafeLinksPolicy.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ New-SafeLinksPolicy [-Name] <String>
4242
[-TrackClicks <Boolean>]
4343
[-UseTranslatedNotificationText <Boolean>]
4444
[-WhatIf]
45-
[-DisableUrlRewrite]
45+
[-DisableUrlRewrite <Boolean>]
4646
[-WhiteListedUrls <String>]
4747
[<CommonParameters>]
4848
```
@@ -171,6 +171,24 @@ Accept pipeline input: False
171171
Accept wildcard characters: False
172172
```
173173

174+
### -DisableUrlRewrite
175+
The DisableUrlRewrite parameter specifies whether to rewrite (wrap) URLs in email messages. Valid values are:
176+
177+
- $true: URLs in messages are not rewritten, but messages are still scanned by Safe Links prior to delivery. Time of click checks on links are done using the Safe Links API in supported Outlook clients (currently, Outlook for Windows and Outlook for Mac). Typically, we don't recommend using this value.
178+
- $false: URLs in messages are rewritten. API checks still occur on unwrapped URLs in supported clients if the user is in a valid Safe Links policy. This is the default value.
179+
180+
```yaml
181+
Type: Boolean
182+
Parameter Sets: (All)
183+
Aliases:
184+
185+
Required: False
186+
Position: Named
187+
Default value: None
188+
Accept pipeline input: False
189+
Accept wildcard characters: False
190+
```
191+
174192
### -DoNotAllowClickThrough
175193
The DoNotAllowClickThrough parameter specifies whether to allow users to click through to the original URL on warning pages. Valid values are:
176194

@@ -409,23 +427,6 @@ Accept pipeline input: False
409427
Accept wildcard characters: False
410428
```
411429

412-
### -DisableUrlRewrite
413-
The DisableUrlRewrite parameter will tell SafeLinks not to rewrite any URLs in email and to do time of click checks via the SafeLinks API from clients that support it. If SafeLinks is enabled and wrapping disabled content will still be scanned prior to email delivery. Currently this API check is supported in Outlook for Desktop (Windows, MacOS). If URL rewrites are enabled API checks will still occur for unwrapped URLs in supported clients if the user is in a valid SafeLinks policy.
414-
415-
Generally there is no reason to disable URL rewrites also known as URL wrapping.
416-
417-
```yaml
418-
Type: Boolean
419-
Parameter Sets: (All)
420-
Aliases:
421-
422-
Required: False
423-
Position: Named
424-
Default value: None
425-
Accept pipeline input: False
426-
Accept wildcard characters: False
427-
```
428-
429430
### -WhiteListedUrls
430431
This parameter has been deprecated. Use the DoNotRewriteUrls parameter instead.
431432

0 commit comments

Comments
 (0)