Skip to content

Commit 1afb9d1

Browse files
author
cabailey
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/office-docs-powershell into cabailey-m365powershell-advancedsettings
2 parents bde2279 + f78e52b commit 1afb9d1

File tree

9 files changed

+179
-15
lines changed

9 files changed

+179
-15
lines changed

exchange/exchange-ps/exchange/Disable-RemoteMailbox.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414
## SYNOPSIS
1515
This cmdlet is available only in on-premises Exchange.
1616

17-
Use the Disable-RemoteMailbox cmdlet to remove mailboxes from the cloud-based service but keep the associated user objects in the on-premises Active Directory.
17+
Use the Disable-RemoteMailbox cmdlet to remove user mailboxes from the cloud-based service but keep the associated user objects in the on-premises Active Directory.
1818

1919
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
2020

@@ -41,7 +41,11 @@ If you want to remove both the cloud-based mailbox and the associated on-premise
4141

4242
Directory synchronization must be configured correctly for a mailbox to be removed from the cloud. Removal of the cloud-based mailbox isn't immediate and depends on the directory synchronization schedule.
4343

44-
**Note**: If you are deprovisioning a cloud mailbox and its associated online archive, you must first disable the online archive with the command `Disable-RemoteMailbox <User> -Archive` and then perform a directory synchronization prior to disabling the remote mailbox. Attempting to disable both the online archive and cloud mailbox without a sync between them may result in an ArchiveGuid mismatch and validation error.
44+
**Notes**:
45+
46+
- If you are deprovisioning a cloud mailbox and its associated online archive, you must first disable the online archive with the command `Disable-RemoteMailbox <User> -Archive` and then perform a directory synchronization prior to disabling the remote mailbox. Attempting to disable both the online archive and cloud mailbox without a sync between them may result in an ArchiveGuid mismatch and validation error.
47+
- Due to the current service architecture, you need to convert shared mailboxes to user mailboxes prior to running the Disable-RemoteMailbox cmdlet.
48+
4549

4650
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://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
4751

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
---
2+
external help file: Microsoft.Exchange.CalendarsAndGroups-Help.xml
3+
online version: https://docs.microsoft.com/powershell/module/exchange/get-dynamicdistributiongroupmember
4+
applicable: Exchange Online
5+
title: Get-DynamicDistributionGroupMember
6+
schema: 2.0.0
7+
author: chrisda
8+
ms.author: chrisda
9+
ms.reviewer:
10+
---
11+
12+
# Get-DynamicDistributionGroupMember
13+
14+
## SYNOPSIS
15+
This cmdlet is available only in the cloud-based service.
16+
17+
Use the Get-DistributionGroupMember cmdlet to view the members of distribution groups and mail-enabled security groups.
18+
19+
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
20+
21+
## SYNTAX
22+
23+
```
24+
Get-DynamicDistributionGroupMember [-Identity] <DynamicDistributionGroupMemberIdParameter>
25+
[-Credential <PSCredential>]
26+
[-IncludeSoftDeletedObjects]
27+
[-ResultSize <Unlimited>]
28+
[<CommonParameters>]
29+
```
30+
31+
## DESCRIPTION
32+
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://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
33+
34+
## EXAMPLES
35+
36+
### Example 1
37+
```powershell
38+
Get-DynamicDistributionGroupMember -Identity "Temporary Employees"
39+
```
40+
41+
This example returns the existing members for the dynamic distribution group named Temporary Employees.
42+
43+
## PARAMETERS
44+
45+
### -Identity
46+
The Identity parameter specifies the dynamic distribution group. You can use any value that uniquely identifies the group. For example:
47+
48+
- Name
49+
- Alias
50+
- Distinguished name (DN)
51+
- Canonical DN
52+
- Email address
53+
- GUID
54+
55+
```yaml
56+
Type: DynamicDistributionGroupMemberIdParameter
57+
Parameter Sets: (All)
58+
Aliases:
59+
Applicable: Exchange Online
60+
61+
Required: True
62+
Position: 0
63+
Default value: None
64+
Accept pipeline input: True (ByValue)
65+
Accept wildcard characters: False
66+
```
67+
68+
### -Credential
69+
The Credential parameter specifies the username and password that's used to run this command. Typically, you use this parameter in scripts or when you need to provide different credentials that have the required permissions.
70+
71+
A value for this parameter requires the Get-Credential cmdlet. To pause this command and receive a prompt for credentials, use the value `(Get-Credential)`. Or, before you run this command, store the credentials in a variable (for example, `$cred = Get-Credential`) and then use the variable name (`$cred`) for this parameter. For more information, see [Get-Credential](https://docs.microsoft.com/powershell/module/microsoft.powershell.security/get-credential).
72+
73+
```yaml
74+
Type: PSCredential
75+
Parameter Sets: (All)
76+
Aliases:
77+
Applicable: Exchange Online
78+
79+
Required: False
80+
Position: Named
81+
Default value: None
82+
Accept pipeline input: False
83+
Accept wildcard characters: False
84+
```
85+
86+
### -IncludeSoftDeletedObjects
87+
The IncludeSoftDeletedGroups switch specifies whether to include soft-deleted group members in the results. You don't need to specify a value with this switch.
88+
89+
Soft-deleted group members are deleted Microsoft 365 Groups or mailboxes that are still recoverable.
90+
91+
```yaml
92+
Type: SwitchParameter
93+
Parameter Sets: (All)
94+
Aliases:
95+
Applicable: Exchange Online
96+
97+
Required: False
98+
Position: Named
99+
Default value: None
100+
Accept pipeline input: False
101+
Accept wildcard characters: False
102+
```
103+
104+
### -ResultSize
105+
The ResultSize parameter specifies the maximum number of results to return. If you want to return all requests that match the query, use unlimited for the value of this parameter. The default value is 1000.
106+
107+
```yaml
108+
Type: Unlimited
109+
Parameter Sets: (All)
110+
Aliases:
111+
Applicable: Exchange Online
112+
113+
Required: False
114+
Position: Named
115+
Default value: None
116+
Accept pipeline input: False
117+
Accept wildcard characters: False
118+
```
119+
120+
### CommonParameters
121+
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).
122+
123+
## INPUTS
124+
125+
###
126+
127+
## OUTPUTS
128+
129+
###
130+
131+
## NOTES
132+
133+
## RELATED LINKS

exchange/exchange-ps/exchange/Get-VivaInsightsSettings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This cmdlet is available only in the Exchange Online PowerShell V2 module. For m
1616

1717
**Note**: This cmdlet is available only in version 2.0.5-Preview2 or later of the EXO V2 module.
1818

19-
Use the Get-VivaInsightsSettings cmdlet to check whether a user has access to features in Microsoft Viva Insights in Microsoft Teams.
19+
Use the Get-VivaInsightsSettings cmdlet to check whether a user has access to features in Microsoft Viva Insights in Microsoft Teams. Only users with provisioned Exchange Online mailboxes can access features within the Viva Insights app in Teams.
2020

2121
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
2222

@@ -52,7 +52,7 @@ This example shows the configuration of Microsoft Viva Insights in Microsoft Tea
5252
## PARAMETERS
5353

5454
### -Identity
55-
The Identity parameter specifies the user that you want to view. You identify the user by their account name (for example, [email protected]).
55+
The Identity parameter specifies the user that you want to view. You identify the user by their User Principal Name (UPN) (for example, [email protected]).
5656

5757
```yaml
5858
Type: String

exchange/exchange-ps/exchange/Set-CalendarProcessing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ Accept wildcard characters: False
255255
### -AllowConflicts
256256
The AllowConflicts parameter specifies whether to allow conflicting meeting requests. Valid values are:
257257
258-
- $true: Conflicts are allowed.
259-
- $false: Conflicts aren't allowed. This is the default value.
258+
- $true: Conflicts are allowed. The recurring meeting series is accepted regardless of whether any occurrences conflict with existing bookings. Where conflicts occur, the individual occurrences are declined without notification messages to the meeting organizer. The values of the ConflictPercentageAllowed or MaximumConflictInstances parameters are ignored.
259+
- $false: Conflicts aren't allowed. This is the default value. Whether the entire series is declined depends on the amount of conflicts in the series: <br> • The series is declined if the number or percentage of conflicts is higher than the ConflictPercentageAllowed or MaximumConflictInstances parameter values. <br> • The series is accepted, but conflicting occurrences are declined if the number or percentage of conflicts is lower than the ConflictPercentageAllowed or MaximumConflictInstances parameter values. If the EnableResponseDetails parameter value is $true, the organizer will receive a notification email for each declined occurrence.
260260
261261
```yaml
262262
Type: Boolean

exchange/exchange-ps/exchange/Set-VivaInsightsSettings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This cmdlet is available only in the Exchange Online PowerShell V2 module. For m
1616

1717
**Note**: This cmdlet is available only in version 2.0.5-Preview2 or later of the EXO V2 module.
1818

19-
Use the Set-VivaInsightsSettings cmdlet to control user access to features in Viva Insights.
19+
Use the Set-VivaInsightsSettings cmdlet to control user access to features in Viva Insights. Only users with provisioned Exchange Online mailboxes can access features within the Viva Insights app in Teams.
2020

2121
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
2222

@@ -49,7 +49,7 @@ This example disables access to all the Headspace features in Microsoft Viva Ins
4949
## PARAMETERS
5050

5151
### -Identity
52-
The Identity parameter specifies the user that you want to modify. You identify the user by their account name (for example, [email protected]).
52+
The Identity parameter specifies the user that you want to modify. You identify the user by their User Principal Name (UPN) (for example, [email protected]).
5353

5454
```yaml
5555
Type: String

exchange/exchange-ps/exchange/Test-IRMConfiguration.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,14 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
4242
Test-IRMConfiguration -Sender [email protected]
4343
```
4444

45-
This example tests the IRM configuration for messages sent from the sender [email protected].
45+
This example tests the IRM configuration in on-premises Exchange for messages sent from the sender [email protected].
46+
47+
### Example 2
48+
```powershell
49+
Test-IRMConfiguration -Sender [email protected] -Recipient [email protected]
50+
```
51+
52+
This example tests the IRM configuration in the cloud-based service for messages sent from [email protected] to [email protected].
4653

4754
## PARAMETERS
4855

@@ -65,7 +72,7 @@ Accept wildcard characters: False
6572
```
6673
6774
### -Sender
68-
The Sender parameter specifies the SMTP address of the sender to be tested. The cmdlet tests prelicensing and journal report decryption for the sender.
75+
The Sender parameter specifies the email address of the sender to test.
6976
7077
```yaml
7178
Type: SmtpAddress
@@ -118,9 +125,11 @@ Accept wildcard characters: False
118125
```
119126

120127
### -Recipient
121-
The Recipient parameter specifies the SMTP address of one or more recipients. The cmdlet tests prelicensing for the specified recipients. You can specify multiple recipient addresses separated by commas.
128+
The Recipient parameter specifies the email address of the recipient to test. You can specify multiple email addresses separated by commas.
129+
130+
This parameter is required in the cloud-based service.
122131

123-
If no recipient is specified, the sender address is used as the recipient.
132+
In on-premises Exchange, if you don't use this parameter, the sender address that's specified by the Sender parameter is used for the value of this parameter.
124133

125134
```yaml
126135
Type: SmtpAddress[]

exchange/exchange-ps/exchange/exchange.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2665,6 +2665,8 @@ Exchange PowerShell is built on Windows PowerShell technology and provides a pow
26652665

26662666
### [Get-DynamicDistributionGroup](Get-DynamicDistributionGroup.md)
26672667

2668+
### [Get-DynamicDistributionGroupMember](Get-DynamicDistributionGroupMember.md)
2669+
26682670
### [Get-EligibleDistributionGroupForMigration](Get-EligibleDistributionGroupForMigration.md)
26692671

26702672
### [Get-Group](Get-Group.md)

exchange/mapping/serviceMapping.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,6 +1313,7 @@
13131313
"Get-DistributionGroup": "users-and-groups",
13141314
"Get-DistributionGroupMember": "users-and-groups",
13151315
"Get-DynamicDistributionGroup": "users-and-groups",
1316+
"Get-DynamicDistributionGroupMember": "users-and-groups",
13161317
"Get-EligibleDistributionGroupForMigration": "users-and-groups",
13171318
"Get-Group": "users-and-groups",
13181319
"Get-LinkedUser": "users-and-groups",

teams/teams-ps/teams/New-CsTeamsShiftsPolicy.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ This cmdlet allows you to create a new TeamsShiftPolicy instance and set it's pr
1616
```
1717
New-CsTeamsShiftsPolicy [-Identity] <XdsIdentity> [-EnableShiftPresence <Boolean>]
1818
[-ShiftNoticeFrequency <String>] [-ShiftNoticeMessageType <String>] [-ShiftNoticeMessageCustom <String>]
19-
[-AccessType <String>] [-AccessGracePeriodMinutes <Int64>] [<CommonParameters>]
19+
[-AccessType <String>] [-AccessGracePeriodMinutes <Int64>] [-EnableScheduleOwnerPermissions <Boolean>] [<CommonParameters>]
2020
```
2121

2222
## DESCRIPTION
23-
This cmdlet allows you to create a TeamsShiftPolicy instance. Use this to also set the policy name, user's shift based presence (EnableShiftPresence) and Teams off shift warning message-specific settings (ShiftNoticeMessageType, ShiftNoticeMessageCustom, ShiftNoticeFrequency, AccessGracePeriodMinutes).
23+
This cmdlet allows you to create a TeamsShiftPolicy instance. Use this to also set the policy name, schedule owner permissions, user's shift based presence (EnableShiftPresence) and Teams off shift warning message-specific settings (ShiftNoticeMessageType, ShiftNoticeMessageCustom, ShiftNoticeFrequency, AccessGracePeriodMinutes).
2424

2525

2626
## EXAMPLES
@@ -34,7 +34,7 @@ Creates a new instance of TeamsShiftsPolicy called OffShiftAccessMessage1Always
3434

3535
### Example 2
3636
```powershell
37-
PS C:\> New-CsTeamsShiftsPolicy -Identity OffShiftAccessMessage1Always -EnableShiftPresence $true -ShiftNoticeFrequency always -ShiftNoticeMessageType Message1 -AccessType UnrestrictedAccess_TeamsApp -AccessGracePeriodMinutes 5
37+
PS C:\> New-CsTeamsShiftsPolicy -Identity OffShiftAccessMessage1Always -EnableShiftPresence $true -ShiftNoticeFrequency always -ShiftNoticeMessageType Message1 -AccessType UnrestrictedAccess_TeamsApp -AccessGracePeriodMinutes 5 -EnableScheduleOwnerPermissions $false
3838
```
3939

4040
Creates a new instance of TeamsShiftsPolicy called OffShiftAccessMessage1Always and applies the provided values to its settings.
@@ -159,6 +159,21 @@ Accept pipeline input: False
159159
Accept wildcard characters: False
160160
```
161161
162+
### -EnableScheduleOwnerPermissions
163+
Indicates whether a user can manage a Shifts schedule as a team member.
164+
165+
```yaml
166+
Type: Boolean
167+
Parameter Sets: (All)
168+
Aliases:
169+
Applicable: Microsoft Teams
170+
Required: False
171+
Position: Named
172+
Default value: False
173+
Accept pipeline input: False
174+
Accept wildcard characters: False
175+
```
176+
162177
### CommonParameters
163178
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/?LinkID=113216).
164179

0 commit comments

Comments
 (0)