You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ClearMailboxPhoto switch specifies that a deleted mailbox photo is considered blank instead of deleted.
95
+
96
+
By default, when a user deletes their mailbox photo, a flag is set on the mailbox that causes subsequent photo requests to:
97
+
98
+
- Return a blank photo.
99
+
100
+
- Prevent searching Active Directory for a photo.
101
+
102
+
Using this switch allows photo requests to search Active Directory for a photo. You don't have to specify a value with this switch.
103
+
104
+
```yaml
105
+
Type: SwitchParameter
106
+
Parameter Sets: ClearMailboxPhoto
107
+
Aliases:
108
+
Applicable: Exchange Server 2016, Exchange Server 2019, Exchange Online
109
+
Required: True
110
+
Position: Named
111
+
Default value: None
112
+
Accept pipeline input: False
113
+
Accept wildcard characters: False
114
+
```
115
+
88
116
### -Confirm
89
117
The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on if the cmdlet requires confirmation before proceeding.
The IgnoreDefaultScope switch tells the command to ignore the default recipient scope setting for the Exchange Management Shell session and to use the entire forest as the scope. This allows the command to access Active Directory objects that aren't currently available in the default scope.
126
-
127
-
Using the IgnoreDefaultScope switch introduces the following restrictions:
128
-
129
-
- You can't use the DomainController parameter. The command uses an appropriate global catalog server automatically.
130
-
131
-
- You can only use the DN for the Identity parameter. Other forms of identification, such as alias or GUID, aren't accepted.
152
+
### -GroupMailbox
153
+
The GroupMailbox switch indicates the specified user is an Office 365 Group. You don't need to specify a value with this switch.
132
154
133
155
```yaml
134
156
Type: SwitchParameter
135
-
Parameter Sets: (All)
157
+
Parameter Sets: ClearMailboxPhoto
136
158
Aliases:
137
-
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
138
-
Required: False
139
-
Position: Named
140
-
Default value: None
141
-
Accept pipeline input: False
142
-
Accept wildcard characters: False
143
-
```
144
-
145
-
### -WhatIf
146
-
The WhatIf switch simulates the actions of the command. You can use this switch to view the changes that would occur without actually applying those changes. You don't need to specify a value with this switch.
147
-
148
-
```yaml
149
-
Type: SwitchParameter
150
-
Parameter Sets: (All)
151
-
Aliases: wi
152
-
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
159
+
Applicable: Exchange Server 2016, Exchange Server 2019, Exchange Online
153
160
Required: False
154
161
Position: Named
155
162
Default value: None
156
163
Accept pipeline input: False
157
164
Accept wildcard characters: False
158
165
```
159
166
160
-
### -ClearMailboxPhotoRecord
161
-
This parameter is available only in the cloud-based service.
162
-
163
-
The ClearMailboxPhoto switch specifies that a deleted mailbox photo is considered blank instead of deleted.
164
-
165
-
By default, when a user deletes their mailbox photo, a flag is set on the mailbox that causes subsequent photo requests to:
167
+
### -IgnoreDefaultScope
168
+
The IgnoreDefaultScope switch tells the command to ignore the default recipient scope setting for the Exchange Management Shell session and to use the entire forest as the scope. This allows the command to access Active Directory objects that aren't currently available in the default scope.
166
169
167
-
- Return a blank photo.
170
+
Using the IgnoreDefaultScope switch introduces the following restrictions:
168
171
169
-
- Prevent searching Active Directory for a photo.
172
+
- You can't use the DomainController parameter. The command uses an appropriate global catalog server automatically.
170
173
171
-
Using this switch allows photo requests to search Active Directory for a photo. You don't have to specify a value with this switch.
174
+
- You can only use the DN for the Identity parameter. Other forms of identification, such as alias or GUID, aren't accepted.
172
175
173
176
```yaml
174
177
Type: SwitchParameter
175
-
Parameter Sets: Set2
178
+
Parameter Sets: (All)
176
179
Aliases:
177
-
Applicable: Exchange Online
178
-
Required: True
180
+
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
181
+
Required: False
179
182
Position: Named
180
183
Default value: None
181
184
Accept pipeline input: False
182
185
Accept wildcard characters: False
183
186
```
184
187
185
-
### -GroupMailbox
186
-
The GroupMailbox switch indicates the specified user is an Office 365 Group. You don't need to specify a value with this switch.
188
+
### -PhotoType
189
+
This parameter is reserved for internal Microsoft use.
187
190
188
191
```yaml
189
-
Type: SwitchParameter
190
-
Parameter Sets: Set2
192
+
Type: String
193
+
Parameter Sets: ClearMailboxPhoto
191
194
Aliases:
192
195
Applicable: Exchange Server 2016, Exchange Server 2019, Exchange Online
This parameter is reserved for internal Microsoft use.
203
+
### -WhatIf
204
+
The WhatIf switch simulates the actions of the command. You can use this switch to view the changes that would occur without actually applying those changes. You don't need to specify a value with this switch.
202
205
203
206
```yaml
204
-
Type: String
205
-
Parameter Sets: Set2
206
-
Aliases:
207
-
Applicable: Exchange Server 2016, Exchange Server 2019, Exchange Online
207
+
Type: SwitchParameter
208
+
Parameter Sets: (All)
209
+
Aliases:wi
210
+
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
0 commit comments