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
Copy file name to clipboardExpand all lines: Modules/CIPPCore/Public/Set-CIPPAlwaysShowFrom.ps1
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,11 @@ Function Set-CIPPAlwaysShowFrom {
8
8
The Set-CIPPAlwaysShowFrom function is used to set the "Always Show From" property for a specified user or all users in a specified tenant. The "Always Show From" property determines whether the from field is always shown in Outlook.
9
9
10
10
.PARAMETERUserID
11
-
Specifies the user ID for which to set the "Always Show From" property. This parameter is mandatory unless the RunOnAllUsersInTenant switch is used.
11
+
Specifies the user ID for which to set the "Always Show From" property. This can be UserPrincipalName, SamAccountName, GUID or Email address.
12
+
This parameter is mandatory unless the RunOnAllUsersInTenant switch is used.
12
13
13
14
.PARAMETERTenantFilter
14
-
Specifies the tenant for which to set the "Always Show From" property.
15
+
Specifies the tenant for which to set the "Always Show From" property. This parameter is mandatory.
15
16
16
17
.PARAMETERAPIName
17
18
Specifies the name of the API. The default value is "Always Show From".
@@ -20,7 +21,7 @@ Function Set-CIPPAlwaysShowFrom {
20
21
Specifies the user who is executing the function.
21
22
22
23
.PARAMETERAlwaysShowFrom
23
-
Specifies whether to set the "Always Show From" property to true or false.
24
+
Specifies whether to set the "Always Show From" property to true or false. This parameter is mandatory.
24
25
25
26
.PARAMETERRunOnAllUsersInTenant
26
27
If this switch is present, the function will set the "Always Show From" property for all users in the specified tenant.
@@ -67,7 +68,7 @@ Function Set-CIPPAlwaysShowFrom {
0 commit comments