Skip to content

Commit 025fee0

Browse files
authored
Merge pull request #11001 from MicrosoftDocs/chrisda
Chrisda to Main
2 parents 7138794 + e0fe9d3 commit 025fee0

File tree

57 files changed

+72
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+72
-1
lines changed

exchange/exchange-ps/exchange/Add-UnifiedGroupLinks.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ This example adds members [email protected] and [email protected] to the Micr
4848
### Example 2
4949
```powershell
5050
$users= Get-User -ResultSize unlimited | where {$_.Department -eq "Marketing" -AND $_.RecipientType -eq "UserMailbox"}
51+
5152
Add-UnifiedGroupLinks -Identity Marketing -LinkType members -Links ($users.UserPrincipalName)
5253
```
5354

exchange/exchange-ps/exchange/Delete-QuarantineMessage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ This example deletes the quarantined message with the specified Identity value.
5858
### Example 2
5959
```powershell
6060
$ids = Get-QuarantineMessage | select -ExpandProperty Identity
61+
6162
Delete-QuarantineMessage -Identity $ids[4]
6263
```
6364

@@ -66,6 +67,7 @@ This example deletes the 5th quarantined message in the list of results from Get
6667
### Example 3
6768
```powershell
6869
$ids = Get-QuarantineMessage | select -ExpandProperty Identity
70+
6971
Delete-QuarantineMessage -Identities $ids -Identity 000
7072
```
7173

exchange/exchange-ps/exchange/Enable-RemoteMailbox.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ After the user is mail-enabled, directory synchronization synchronizes the mail-
117117
### Example 2
118118
```powershell
119119
Enable-RemoteMailbox "Kim Akers" -RemoteRoutingAddress "[email protected]"
120+
120121
Enable-RemoteMailbox "Kim Akers" -Archive
121122
```
122123

exchange/exchange-ps/exchange/Get-ActiveSyncDeviceStatistics.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ This example retrieves the statistics for the mobile phone configured to synchro
5959
### Example 2
6060
```powershell
6161
$UserList = Get-CASMailbox -Filter "HasActiveSyncDevicePartnership -eq `$true -and -not DisplayName -like 'CAS_{*'"
62+
6263
Get-Mailbox $UserList | foreach {Get-ActiveSyncDeviceStatistics -Mailbox $_}
6364
```
6465

exchange/exchange-ps/exchange/Get-CalendarDiagnosticAnalysis.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
6666
### Example 1
6767
```powershell
6868
$logs = Get-CalendarDiagnosticLog -Identity oevans -MeetingID 040000008200E00074C5B7101A82E008000000009421DCCD5046CD0100000000000000001000000010B0349F6B17454685E17D9F9512E71F
69+
6970
Get-CalendarDiagnosticAnalysis -CalendarLogs $logs -DetailLevel Advanced | Set-Content -Path "C:\My Documents\Oscar Evans Analysis.csv"
7071
```
7172

@@ -87,6 +88,7 @@ For basic analysis of the items, don't include the DetailLevel parameter, or use
8788
### Example 3
8889
```powershell
8990
$calitems = Get-CalendarDiagnosticLog -Identity [email protected] -Subject "Budget Meeting"
91+
9092
ForEach($item in $calitems){$i++; Get-CalendarDiagnosticAnalysis -CalendarLogs $item -OutputAs HTML | Set-Content -Path ("\\FileServer01\Data\Jasen Kozma Analysis{0}.html" -f $i)}
9193
```
9294

exchange/exchange-ps/exchange/Get-DistributionGroupMember.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ This example returns the existing distribution group members for the distributio
4848
### Example 2
4949
```powershell
5050
Set-ADServerSettings -ViewEntireForest $true
51+
5152
Get-DistributionGroupMember -Identity "Marketing Worldwide"
5253
```
5354

exchange/exchange-ps/exchange/Get-DomainController.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
4646
### Example 1
4747
```powershell
4848
$UserCredentials = Get-Credential
49+
4950
Get-DomainController -DomainName corp.contoso.com -Credential $UserCredentials | Format-Table -AutoSize Name,ADSite
5051
```
5152

exchange/exchange-ps/exchange/Get-DynamicDistributionGroup.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ This example returns all dynamic distribution groups whose names contain the str
9696
### Example 4
9797
```powershell
9898
$FTE = Get-DynamicDistributionGroup "Full Time Employees"
99+
99100
Get-Recipient -RecipientPreviewFilter $FTE.RecipientFilter -OrganizationalUnit $FTE.RecipientContainer
100101
```
101102

exchange/exchange-ps/exchange/Get-ExchangeDiagnosticInfo.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ This example returns a summary list of all Exchange processes that are running o
4444
### Example 2
4545
```powershell
4646
[xml]$edi = Get-ExchangeDiagnosticInfo
47+
4748
$edi.Diagnostics.Processlocator.Process | Format-Table -Auto Name,ID,Guid
4849
```
4950

exchange/exchange-ps/exchange/Get-MailboxAuditBypassAssociation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ This example returns the status of the AuditBypassEnabled property for the Svc-M
5151
### Example 3
5252
```powershell
5353
$MBX = Get-MailboxAuditBypassAssociation -ResultSize unlimited
54+
5455
$MBX | where {$_.AuditBypassEnabled -eq $true} | Format-Table Name,AuditBypassEnabled
5556
```
5657

0 commit comments

Comments
 (0)