From 3f34768d7143b694f08aa47f6c52bb70d3e887f8 Mon Sep 17 00:00:00 2001 From: Camille Birch <118239446+cabirch@users.noreply.github.com> Date: Thu, 22 Aug 2024 13:58:24 -0700 Subject: [PATCH 1/2] Update Set-Label.md with Date-Time variable for DW --- exchange/exchange-ps/exchange/Set-Label.md | 1 + 1 file changed, 1 insertion(+) diff --git a/exchange/exchange-ps/exchange/Set-Label.md b/exchange/exchange-ps/exchange/Set-Label.md index d74d09d621..a3b88c38a3 100644 --- a/exchange/exchange-ps/exchange/Set-Label.md +++ b/exchange/exchange-ps/exchange/Set-Label.md @@ -720,6 +720,7 @@ Accept wildcard characters: False The DynamicWatermarkDisplay parameter specifies the watermark text to display for a given label. This parameter supports text and the following special tokens: - **"\`${Consumer.PrincipalName}**": Required. The value is the user principal name (UPN) of the user. +- **"\`${Device.DateTime}**": Optional. The value is current date/time of the device used to view the document. **Tip** The back quotation mark character ( \` ) is required as an escape character for the dollar sign character ( $ ) in PowerShell. For more information, see [Escape characters in Exchange PowerShell](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax#escape-characters-in-exchange-powershell). From e2452c37887f857f64f3019f2cf3e8139f1a5f49 Mon Sep 17 00:00:00 2001 From: Camille Birch <118239446+cabirch@users.noreply.github.com> Date: Thu, 22 Aug 2024 14:01:30 -0700 Subject: [PATCH 2/2] Update New-Label.md with Date-Time variable for DW --- exchange/exchange-ps/exchange/New-Label.md | 1 + 1 file changed, 1 insertion(+) diff --git a/exchange/exchange-ps/exchange/New-Label.md b/exchange/exchange-ps/exchange/New-Label.md index c194bd50bc..58d707d21b 100644 --- a/exchange/exchange-ps/exchange/New-Label.md +++ b/exchange/exchange-ps/exchange/New-Label.md @@ -722,6 +722,7 @@ Accept wildcard characters: False The DynamicWatermarkDisplay parameter specifies the watermark text to display for a given label. This parameter supports text and the following special tokens: - `${Consumer.PrincipalName}`: Required. The value is the user principal name (UPN) of the user. +- `${Device.DateTime}`: Optional. The value is current date/time of the device used to view the document. This parameter is meaningful only when the ApplyDynamicWatermarkingEnabled parameter value is $true.