Skip to content

Commit 94d5816

Browse files
authored
Merge pull request MicrosoftDocs#555 from MicrosoftDocs/master
Master to ExMigration
2 parents d476841 + 6ce0dd4 commit 94d5816

File tree

9 files changed

+43
-15
lines changed

9 files changed

+43
-15
lines changed

exchange/docs-conceptual/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- name: Exchange Server PowerShell
66
href: exchange-server/exchange-management-shell.md
77
items:
8-
- name: Open the Exchanage Management Shell
8+
- name: Open the Exchange Management Shell
99
href: exchange-server/open-the-exchange-management-shell.md
1010
- name: Connect to Exchange servers using remote PowerShell
1111
href: exchange-server/connect-to-exchange-servers-using-remote-powershell.md

exchange/exchange-ps/exchange/mailboxes/Set-App.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ For example:
217217
218218
- User ID or user principal name (UPN)
219219
220-
To enter multiple values, use the following syntax: \<value1\>,\<value2\>,...\<valueX\>. If the values contain spaces or otherwise require quotation marks, use the following syntax: "\<value1\>","\<value2\>",..."\<valueX\>".
220+
To enter multiple values, use the following syntax: \<value1\>,\<value2\>,...\<valueX\>. If the values contain spaces or otherwise require quotation marks, use the following syntax: "\<value1\>","\<value2\>",..."\<valueX\>". Maximum size of the list is 1000 recipients.
221221
222222
You use this parameter with the OrganizationApp switch.
223223

exchange/exchange-ps/exchange/move-and-migration/New-PublicFolderMoveRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ You can also move a branch of public folders by using the Move-PublicFolderBranc
5555

5656
### Example 3
5757
```
58-
$folders = Get-PublicFolder \ -Recurse -mailbox -ResidentFolders | ?{$_.Name -ne "IPM_SUBTREE"} | %{$_.Identity};New-PublicFolderMoveRequest -TargetMailbox -Folders $folders
58+
$folders = Get-PublicFolder \ -Recurse -Mailbox PUB1 -ResidentFolders | ?{$_.Name -ne "IPM_SUBTREE"} | %{$_.Identity};New-PublicFolderMoveRequest -TargetMailbox PUB2 -Folders $folders
5959
```
6060

6161
This example moves all public folders from public folder mailbox Pub1 to public folder mailbox Pub2.

exchange/exchange-ps/exchange/policy-and-compliance-retention/New-RetentionComplianceRule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Accept wildcard characters: False
204204
```
205205
206206
### -ExcludedItemClasses
207-
The ExcludedItemClasses parameter specifies the types of messages to exclude from the rule. Typically, you use this parameter to exclude voicemail messages, IM conversations, and other Skype for Business Online content in mailboxes. Common Skype for Business values include:
207+
The ExcludedItemClasses parameter specifies the types of messages to exclude from the rule. You can use this parameter only to exclude items from a hold policy, which excludes the specified item class from being held. Using this parameter won't exclude items from deletion policies. Typically, you use this parameter to exclude voicemail messages, IM conversations, and other Skype for Business Online content from being held by a hold policy. Common Skype for Business values include:
208208
209209
- IPM.Note.Microsoft.Conversation
210210

exchange/exchange-ps/exchange/policy-and-compliance-retention/Set-RetentionComplianceRule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Accept wildcard characters: False
201201
```
202202
203203
### -ExcludedItemClasses
204-
The ExcludedItemClasses parameter specifies the types of messages to exclude from the rule. Typically, you use this parameter to exclude voicemail messages, IM conversations, and other Skype for Business Online content in mailboxes. Common Skype for Business values include:
204+
The ExcludedItemClasses parameter specifies the types of messages to exclude from the rule. You can use this parameter only to exclude items from a hold policy, which excludes the specified item class from being held. Using this parameter won't exclude items from deletion policies. Typically, you use this parameter to exclude voicemail messages, IM conversations, and other Skype for Business Online content from being held by a hold policy. Common Skype for Business values include:
205205
206206
- IPM.Note.Microsoft.Conversation
207207

repo_docs/ADVANCED.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ To do this you clone your GitHub repository to your local computer. Here is a di
6363

6464
Tip: You can clone your repository to muliple computers if you choose.
6565
You just have to make sure you save your local work by pushing it back up to your repository.
66-
And vice versa, when you start workign on a new computer you have to remember to pull any changes down to your local work computer.
66+
And vice versa, when you start working on a new computer you have to remember to pull any changes down to your local work computer.
6767
This will be described in more detail later on.
6868

6969
There are many tools that can be used to work with GitHub.
@@ -116,7 +116,7 @@ git checkout -b [name of your branch]
116116

117117
Note the -b flag creates the branch if it doesn't exist and switches to it. To checkout an existing branch leave out the -b flag.
118118

119-
### Make edits to the relevant PowerShell cmdlet markdown.
119+
### Make edits to the relevant PowerShell cmdlet markdown
120120

121121
Open your favorite Markdown editor and edit the Markdown in your working branch.
122122
Tip: Visual Studio Code provides a nice side-by-side view for editing Markdown content.

sharepoint/sharepoint-ps/sharepoint-online/Add-SPOSiteScript.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,37 @@ This example adds a new site logo from the following script in a file.
4242
Get-Content 'c:\scripts\site-script.json' -Raw | Add-SPOSiteScript -Title "Customer logo" -Description "Applies customer logo for customer sites"
4343
```
4444

45+
### Example 2
46+
47+
This example sets the external sharing capabilities of the site to the ExternalUserAndGuestSharing option. We also add a site design for a Communication site (68) which uses this script.
48+
49+
```powershell
50+
PS C:\> $script = @'
51+
>> {
52+
>> "$schema": "schema.json",
53+
>> "actions": [
54+
>> {
55+
>> "verb": "setSiteExternalSharingCapability",
56+
>> "capability": "ExternalUserAndGuestSharing"
57+
>> }
58+
>> ],
59+
>> "bindata": { },
60+
>> "version": 1
61+
>> };
62+
>> '@
63+
64+
PS C:\> Add-SPOSiteScript -Title "External User and Guest Sharing site script" -Description "A site script to manage the
65+
guest access of a site" -Content $script
66+
67+
Id : ea9e3a52-7c12-4da8-a901-4912be8a76bc
68+
Title : External User and Guest Sharing site script
69+
Description : A site script to manage theguest access of a site
70+
Content :
71+
Version : 0
72+
73+
PS C:\> Add-SPOSiteDesign -Title "Communication Site with External Users and Guest Sharing" -WebTemplate "68" -SiteScripts "ea9e3a52-7c12-4da8-a901-4912be8a76bc"
74+
```
75+
4576
## PARAMETERS
4677

4778
### -Title

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOHubSite.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ Lists hub sites or hub site information.
1313
## SYNTAX
1414

1515
```
16-
Set-SPOHubSite [-Identity] <SpoHubSitePipeBind>
17-
[-Title <string>]
18-
[-LogoUrl <string>]
19-
[-Description <string>]
16+
Get-SPOHubSite [-Identity] <SpoHubSitePipeBind>
2017
[<CommonParameters>]
2118
```
2219

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOTenantLogEntry.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,22 @@ For permissions and the most current information about Windows PowerShell for Sh
5050

5151
### -----------------------EXAMPLE 1-----------------------------
5252
```
53-
Get-SPOTenantLogLastAvailableTimeInUtc
53+
Get-SPOTenantLogEntry
5454
```
5555
This example retrieves all logs that are available.
5656

5757

5858
### -----------------------EXAMPLE 2-----------------------------
5959
```
60-
Get-SPOTenantLogLastAvailableTimeInUtc -MaxRows 500
60+
Get-SPOTenantLogEntry -MaxRows 500
6161
```
6262
This example retrieves the first 500 log entries.
6363

6464

6565
### -----------------------EXAMPLE 3-----------------------------
6666
```
6767
$endTimeinUTC = Get-SPOTenantLogLastAvailableTimeInUtc
68-
$startTimeinUTC = $endTimeinUTC.AddDays (-14)
68+
$startTimeinUTC = $endTimeinUTC.AddDays(-14)
6969
$tenantlogs = Get-SPOTenantLogEntry -StartTimeinUtc $startTimeinUTC -EndTimeinUTC $endTimeinUTC
7070
```
7171
This example retrieves log entries recorded over that previous 14 days.
@@ -74,7 +74,7 @@ This example retrieves log entries recorded over that previous 14 days.
7474
### -----------------------EXAMPLE 4-----------------------------
7575
```
7676
$endTimeinUTC = Get-SPOTenantLogLastAvailableTimeInUtc
77-
$startTimeinUTC = $endTimeinUTC.AddDays (-14)
77+
$startTimeinUTC = $endTimeinUTC.AddDays(-14)
7878
$tenantlogs = Get-SPOTenantLogEntry -StartTimeinUtc $startTimeinUTC -EndTimeinUTC $endTimeinUTC -CorrelationId e2c2be70-6382-4ce7-8a44-ae7dadff5597
7979
```
8080
This example retrieves log entries recorded over that previous 14 days that have the CorrelationId of “e2c2be70-6382-4ce7-8a44-ae7dadff5597”.

0 commit comments

Comments
 (0)