Skip to content

Commit f6b9458

Browse files
authored
Merge pull request MicrosoftDocs#3316 from samschan-ms/patch-1
Patch 1
2 parents 74152b7 + 215f9bc commit f6b9458

File tree

1 file changed

+258
-0
lines changed

1 file changed

+258
-0
lines changed
Lines changed: 258 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,258 @@
1+
---
2+
external help file: Microsoft.Exchange.WebClient-Help.xml
3+
applicable: Exchange Online
4+
title: New-OMEConfiguration
5+
schema: 2.0.0
6+
monikerRange: "exchonline-ps"
7+
---
8+
9+
# New-OMEConfiguration
10+
11+
## SYNOPSIS
12+
This cmdlet is available only in the cloud-based service.
13+
14+
Use the New-OMEConfiguration cmdlet to create a Microsoft Office 365 Message Encryption (OME) configuration.
15+
16+
For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax (https://technet.microsoft.com/library/bb123552.aspx).
17+
18+
## SYNTAX
19+
20+
```
21+
New-OMEConfiguration [-Identity] <OrganizationIdParameter>
22+
[-BackgroundColor <String>]
23+
[-DisclaimerText <String>]
24+
[-EmailText <String>]
25+
[-ExternalMailExpiryInDays <Int32>]
26+
[-Image <Byte[]>]
27+
[-Identity <String>]
28+
[-IntroductionText <String>]
29+
[-OTPEnabled <$true | $false>]
30+
[-PortalText <String>]
31+
[-ReadButtonText <String>]
32+
[-SocialIdSignIn <$true | $false>]
33+
[<CommonParameters>]
34+
```
35+
36+
## DESCRIPTION
37+
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet (https://technet.microsoft.com/library/mt432940.aspx).
38+
39+
## EXAMPLES
40+
41+
### Example 1
42+
```
43+
New-OMEConfiguration -Identity "Expire in 7 days" ExternalMailExpiryInDays 7
44+
```
45+
46+
This example configures encrypted email messages that are sent to external recipients to expire after 7 days.
47+
48+
## PARAMETERS
49+
50+
### -Identity
51+
The Identity parameter specifies a unique name for the OME configuration object. The maximum length is 64 characters. If the value contains spaces, enclose the value in quotation marks (").
52+
53+
```yaml
54+
Type: OrganizationIdParameter
55+
Parameter Sets: (All)
56+
Aliases:
57+
Applicable: Exchange Online
58+
Required: True
59+
Position: 0
60+
Default value: None
61+
Accept pipeline input: True (ByValue)
62+
Accept wildcard characters: False
63+
```
64+
65+
### -BackgroundColor
66+
The BackgroundColor parameter specifies the background color. Valid values are:
67+
68+
- An available HTML hexadecimal \(hex triplet\) color code value \(for example, 0x000000 is white\).
69+
70+
- An available text value \(for example, yellow is 0x00FFFF00\).
71+
72+
- $null \(blank\). This is the default value.
73+
74+
For the list of available hex and text values, see Background colors for Office 365 Message Encryption (https://support.office.com/article/1508cb35-c5ff-4523-b579-947b21d5515f).
75+
76+
```yaml
77+
Type: String
78+
Parameter Sets: (All)
79+
Aliases:
80+
Applicable: Exchange Online
81+
Required: False
82+
Position: Named
83+
Default value: None
84+
Accept pipeline input: False
85+
Accept wildcard characters: False
86+
```
87+
88+
### -DisclaimerText
89+
The DisclaimerText parameter specifies the disclaimer text in the email that contains the encrypted message. The maximum length is 1024 characters.
90+
91+
To remove existing text and use the default value, use the value $null for this parameter.
92+
93+
```yaml
94+
Type: String
95+
Parameter Sets: (All)
96+
Aliases:
97+
Applicable: Exchange Online
98+
Required: False
99+
Position: Named
100+
Default value: None
101+
Accept pipeline input: False
102+
Accept wildcard characters: False
103+
```
104+
105+
### -EmailText
106+
The EmailText parameter specifies the default text that accompanies encrypted email messages. The default text appears above the instructions for viewing encrypted messages. The maximum length is 1024 characters.
107+
108+
To remove existing text and use the default value, use the value $null for this parameter.
109+
110+
```yaml
111+
Type: String
112+
Parameter Sets: (All)
113+
Aliases:
114+
Applicable: Exchange Online
115+
Required: False
116+
Position: Named
117+
Default value: None
118+
Accept pipeline input: False
119+
Accept wildcard characters: False
120+
```
121+
122+
### -ExternalMailExpiryInDays
123+
The ExternalMailExpiryInDays parameter specifies when access to the mail through the Office 365 web portal will expire. The range of the parameter is between 1 and 730.
124+
125+
```yaml
126+
Type: Int32
127+
Parameter Sets: (All)
128+
Aliases:
129+
Applicable: Exchange Online
130+
Required: False
131+
Position: Named
132+
Default value: None
133+
Accept pipeline input: False
134+
Accept wildcard characters: False
135+
```
136+
137+
### -Image
138+
The Image parameter identifies and uploads an image that will be displayed in the email message and in the Office 365 portal.
139+
140+
You need to read the file to a byte-encoded object using the Get-Content cmdlet, for example, -Image (Get-Content "C:\\Temp\\OME Logo.gif" -Encoding byte)
141+
142+
- Supported file formats: .png, .jpg, .bmp, or .tiff
143+
144+
- Optimal size of logo file: less than 40 KB
145+
146+
- Optimal dimensions of logo image: 170x70 pixels
147+
148+
To remove an existing image and use the default image, use the value $null for this parameter.
149+
150+
```yaml
151+
Type: Byte[]
152+
Parameter Sets: (All)
153+
Aliases:
154+
Applicable: Exchange Online
155+
Required: False
156+
Position: Named
157+
Default value: None
158+
Accept pipeline input: False
159+
Accept wildcard characters: False
160+
```
161+
162+
### -IntroductionText
163+
The IntroductionText parameter specifies the default text that accompanies encrypted email messages. The default text appears below the recipient email address for viewing encrypted message.
164+
165+
```yaml
166+
Type: String
167+
Parameter Sets: (All)
168+
Aliases:
169+
Applicable: Exchange Online
170+
Required: False
171+
Position: Named
172+
Default value: None
173+
Accept pipeline input: False
174+
Accept wildcard characters: False
175+
```
176+
177+
### -OTPEnabled
178+
The OTPEnabled parameter specifies whether to allow recipients to use a one-time passcode to view encrypted messages. Valid values are:
179+
180+
- $true: Recipients can use a one-time passcode to view encrypted messages. This is the default value.
181+
182+
- $false: Recipients can't use a one-time passcode to view encrypted messages. The recipient is required to sign in using an Office 365 work or school account.
183+
184+
```yaml
185+
Type: $true | $false
186+
Parameter Sets: (All)
187+
Aliases:
188+
Applicable: Exchange Online
189+
Required: False
190+
Position: Named
191+
Default value: None
192+
Accept pipeline input: False
193+
Accept wildcard characters: False
194+
```
195+
196+
### -PortalText
197+
The PortalText parameter specifies the text that appears at the top of the encrypted mail viewing portal. The maximum length is 128 characters.
198+
199+
To remove existing text and use the default value, use the value $null for this parameter.
200+
201+
```yaml
202+
Type: String
203+
Parameter Sets: (All)
204+
Aliases:
205+
Applicable: Exchange Online
206+
Required: False
207+
Position: Named
208+
Default value: None
209+
Accept pipeline input: False
210+
Accept wildcard characters: False
211+
```
212+
213+
### -ReadButtonText
214+
The ReadButtonText parameter specifies the default text on the Read email button that accompanies encrypted email messages.
215+
216+
```yaml
217+
Type: String
218+
Parameter Sets: (All)
219+
Aliases:
220+
Applicable: Exchange Online
221+
Required: False
222+
Position: Named
223+
Default value: None
224+
Accept pipeline input: False
225+
Accept wildcard characters: False
226+
```
227+
228+
### -SocialIdSignIn
229+
The SocialIdSignIn parameter specifies whether a user is allowed to view an encrypted message in the Office 365 portal using their own social network id (Google, Yahoo, etc).
230+
231+
```yaml
232+
Type: $true | $false
233+
Parameter Sets: (All)
234+
Aliases:
235+
Applicable: Exchange Online
236+
Required: False
237+
Position: Named
238+
Default value: None
239+
Accept pipeline input: False
240+
Accept wildcard characters: False
241+
```
242+
243+
### CommonParameters
244+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
245+
246+
## INPUTS
247+
248+
###
249+
250+
## OUTPUTS
251+
252+
###
253+
254+
## NOTES
255+
256+
## RELATED LINKS
257+
258+
[Online Version](https://docs.microsoft.com/powershell/module/exchange/encryption-and-certificates/New-OMEConfiguration)

0 commit comments

Comments
 (0)