Skip to content

Commit 495d2f3

Browse files
author
Michaël Hompus
committed
Replace smartquotes with regular quotes in code samples
1 parent 6993b2e commit 495d2f3

16 files changed

+41
-45
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2277,7 +2277,7 @@ This parameter is available only in Exchange Online.
22772277
22782278
The ExcludeFromOrgHolds parameter excludes the mailbox from one or more organization-wide Office 365 retention policies. This parameter can only be used for inactive mailboxes. A valid value for this parameter is the GUID of the organization-wide Office 365 retention policy that the inactive mailbox is excluded from. To find the GUID values of organization-wide Office 365 retention policies, run the command Get-OrganizationConfig | Format-List InplaceHolds. Note that retention policies assigned to mailboxes are prefaced by 'mbx'.
22792279
2280-
You can specify multiple values for this parameter by using the syntax "GUID1",GUID2",…"GUIDX".
2280+
You can specify multiple values for this parameter by using the syntax "GUID1","GUID2",…"GUIDX".
22812281
22822282
When you use this parameter, use the DistinguishedName or ExchangeGuid property value for the identity of the inactive mailbox (those are the values that guarantee uniqueness).
22832283

sharepoint/sharepoint-ps/sharepoint-online/Export-SPOQueryLogs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Example 1 exports the query log for a user who has the e-mail address user1@cont
4545

4646
### ------------ Example 2 --------------------
4747
```
48-
Export-SPOQueryLogs -LoginName [email protected] -StartTime 2018-10-21 -OutputFolder c:\users\contosoadmin\Documents
48+
Export-SPOQueryLogs -LoginName [email protected] -StartTime "2018-10-21" -OutputFolder "c:\users\contosoadmin\Documents"
4949
```
5050
Example 2 exports the query log from the starting time 21. October 2018, for a user who has the e-mail address [email protected], to the two files [email protected]_queries.csv and [email protected]_personalQueries.csv, in the folder c:\users\contosoadmin\Documents.
5151

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Used to retrieve a scheduled site design script. It takes the ID of the schedule
3535
This example applies a site design that includes two site scripts - totaling over 30 site script actions. Executing the commands will schedule the site design to be queued and run against the designated site collection.
3636

3737
```powershell
38-
Get-SPOSiteDesignTask -Identity 501z8c32-4147-44d4-8607-26c2f67cae82 -WebUrl "https://contoso.sharepoint.com/sites/projectawesome%3Cspan%20class="x x-first x-last">”
38+
Get-SPOSiteDesignTask -Identity 501z8c32-4147-44d4-8607-26c2f67cae82 -WebUrl "https://contoso.sharepoint.com/sites/projectawesome%3Cspan%20class="x x-first x-last">"
3939
```
4040

4141
## PARAMETERS

sharepoint/sharepoint-ps/sharepoint-online/Invoke-SPOSiteDesign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Applies a published site design to a specified site collection target. This allo
3131
This example applies a site design whose script creates two lists, formats several of the columns, adds the lists to the site navigation, and then joins the site to an existing hub site.
3232

3333
```powershell
34-
Invoke-SPOSiteDesign -Identity 501z8c32-4147-44d4-8607-26c2f67cae82 -WebUrl "https://contoso.sharepoint.com/sites/projectgo%3Cspan%20class="x x-first x-last">”
34+
Invoke-SPOSiteDesign -Identity 501z8c32-4147-44d4-8607-26c2f67cae82 -WebUrl "https://contoso.sharepoint.com/sites/projectgo%3Cspan%20class="x x-first x-last">"
3535
3636
Title Outcome
3737
---------------------------------------------- -------

sharepoint/sharepoint-ps/sharepoint-online/Request-SPOPersonalSite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ get-MSOLUser | Where {$_.PreferredDataLocation -eq "EUR"]
3434

3535
### ----------------------EXAMPLE 1-----------------------
3636
```
37-
37+
3838
Request-SPOPersonalSite –UserEmails $emails
3939
```
4040

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenantSyncClientRestriction.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,19 +119,15 @@ Note that it may take up to an hour for this change to be reflected.
119119

120120
### --------------------EXAMPLE---------------------
121121
```
122-
Set-SPOTenantSyncClientRestriction –Enable –DomainGuids “786548DD-877B-4760-A749-6B1EFBC1190A; 877564FF-877B-4760-A749-
123-
124-
6B1EFBC1190A”
122+
Set-SPOTenantSyncClientRestriction –Enable –DomainGuids "786548DD-877B-4760-A749-6B1EFBC1190A; 877564FF-877B-4760-A749-6B1EFBC1190A"
125123
```
126124

127125
This example enables the feature for the tenancy and adds the domains GUIDs to the safe recipient list.
128126

129127
### --------------------EXAMPLE------------------
130128

131129
```
132-
Set-SPOTenantSyncClientRestriction –Enable –DomainGuids “786548DD-877B-4760-A749-6B1EFBC1190A; 877564FF-877B-4760-A749-
133-
134-
6B1EFBC1190A” -BlockMacSync:$true
130+
Set-SPOTenantSyncClientRestriction –Enable –DomainGuids "786548DD-877B-4760-A749-6B1EFBC1190A; 877564FF-877B-4760-A749-6B1EFBC1190A" -BlockMacSync:$true
135131
```
136132

137133
This example turns on the Block Mac sync functionality.

skype/skype-ps/skype/New-CsOnlineSchedule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ This example creates a fixed schedule that is active from December 24, 2017 to D
7979
```
8080
$dtr1 = New-CsOnlineDateTimeRange -Start "24/12/2017" -End "26/12/2017"
8181
$dtr2 = New-CsOnlineDateTimeRange -Start "24/12/2018" -End "26/12/2018"
82-
$notInEffectSchedule = New-CsOnlineSchedule -Name NotInEffect -FixedSchedule
82+
$notInEffectSchedule = New-CsOnlineSchedule -Name "NotInEffect" -FixedSchedule
8383
```
8484

8585
This example creates a fixed schedule that is never active.

skype/skype-ps/skype/New-CsOrganizationalAutoAttendant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $afterHoursSchedule = New-CsOnlineSchedule -Name "After Hours Schedule" -WeeklyR
5656
5757
$afterHoursCallHandlingAssociation = New-CsOrganizationalAutoAttendantCallHandlingAssociation -Type AfterHours -ScheduleId $afterHoursSchedule.Id -CallFlowId $afterHoursCallFlow.Id
5858
59-
$inclusionScopeGroupIds = @(4c3053a6-20bf-43df-bf7a-156124168856)
59+
$inclusionScopeGroupIds = @("4c3053a6-20bf-43df-bf7a-156124168856")
6060
$inclusionScope = New-CsOrganizationalAutoAttendantDialScope -GroupScope -GroupIds $inclusionScopeGroupIds
6161
6262
$o=New-CsOrganizationalAutoAttendant -Name "Main auto attendant" -LineUris @($lineUri) -DefaultCallFlow $defaultCallFlow -EnableVoiceResponse -Schedules @($afterHoursSchedule) -CallFlows @($afterHoursCallFlow) -CallHandlingAssociations @($afterHoursCallHandlingAssociation) -Language "en-US" -TimeZoneId "UTC" -Operator $operatorEntity -InclusionScope $inclusionScope

spmt/spmt-ps/spmt/Add-SPMTTask.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ $Global:SourceListName = "SourceListName"
105105
106106
107107
#Define SPO target#
108-
$Global:SPOUrl = https://contoso.sharepoint.com
109-
$Global:UserName = [email protected]
108+
$Global:SPOUrl = "https://contoso.sharepoint.com"
109+
$Global:UserName = "[email protected]"
110110
$Global:PassWord = ConvertTo-SecureString -String "YourSPOPassword" -AsPlainText -Force
111111
$Global:SPOCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Global:UserName, $Global:PassWord
112112
$Global:TargetListName = "TargetListName"

spmt/spmt-ps/spmt/Get-SPMTMigration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ $Global:SourceListName = "SourceListName"
3939
4040
4141
#Define SPO target#
42-
$Global:SPOUrl = https://contoso.sharepoint.com
43-
$Global:UserName = [email protected]
42+
$Global:SPOUrl = "https://contoso.sharepoint.com"
43+
$Global:UserName = "[email protected]"
4444
$Global:PassWord = ConvertTo-SecureString -String "YourSPOPassword" -AsPlainText -Force
4545
$Global:SPOCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Global:UserName, $Global:PassWord
4646
$Global:TargetListName = "TargetListName"

spmt/spmt-ps/spmt/Register-SPMTMigration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ After a session is registered, the user can add a migration task to the migratio
2727
### Create a migration session and connecting to SPO.
2828
```
2929
#Define SPO target#
30-
$Global:SPOUrl = https://contoso.sharepoint.com
31-
$Global:UserName = [email protected]
30+
$Global:SPOUrl = "https://contoso.sharepoint.com"
31+
$Global:UserName = "[email protected]"
3232
$Global:PassWord = ConvertTo-SecureString -String "YourSPOPassword" -AsPlainText -Force
3333
$Global:SPOCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Global:UserName, $Global:PassWord
3434

spmt/spmt-ps/spmt/Remove-SPMTTask.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ $Global:SourceListName = "SourceListName"
3535
3636
3737
#Define SPO target#
38-
$Global:SPOUrl = https://contoso.sharepoint.com
39-
$Global:UserName = [email protected]
38+
$Global:SPOUrl = "https://contoso.sharepoint.com"
39+
$Global:UserName = "[email protected]"
4040
$Global:PassWord = ConvertTo-SecureString -String "YourSPOPassword" -AsPlainText -Force
4141
$Global:SPOCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Global:UserName, $Global:PassWord
4242
$Global:TargetListName = "TargetListName"

spmt/spmt-ps/spmt/Show-SPMTMigration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ $Global:SourceListName = "SourceListName"
3535
3636
3737
#Define SPO target#
38-
$Global:SPOUrl = https://contoso.sharepoint.com
39-
$Global:UserName = [email protected]
38+
$Global:SPOUrl = "https://contoso.sharepoint.com"
39+
$Global:UserName = "[email protected]"
4040
$Global:PassWord = ConvertTo-SecureString -String "YourSPOPassword" -AsPlainText -Force
4141
$Global:SPOCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Global:UserName, $Global:PassWord
4242
$Global:TargetListName = "TargetListName"

spmt/spmt-ps/spmt/Start-SPMTMigration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ This cmdlet will start the registered SPMT migration.
2828
2929
$Global:SourceSiteUrl = "http://YourOnPremSite/"
3030
$Global:OnPremUserName = "Yourcomputer\administrator"
31-
$Global:OnPremPassword = ConvertTo-SecureString -String "OnPremPassword" -AsPlainText -Force
31+
$Global:OnPremPassword = ConvertTo-SecureString -String "OnPremPassword" -AsPlainText -Force
3232
$Global:SPCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Global:OnPremUserName, $Global:OnPremPassword
3333
$Global:SourceListName = "SourceListName"
3434
3535
3636
#Define SPO target#
37-
$Global:SPOUrl = https://contoso.sharepoint.com
38-
$Global:UserName = [email protected]
37+
$Global:SPOUrl = "https://contoso.sharepoint.com"
38+
$Global:UserName = "[email protected]"
3939
$Global:PassWord = ConvertTo-SecureString -String "YourSPOPassword" -AsPlainText -Force
4040
$Global:SPOCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Global:UserName, $Global:PassWord
4141
$Global:TargetListName = "TargetListName"
@@ -47,7 +47,7 @@ $Global:FileshareSource = "YourFileShareDataSource"
4747
Import-Module Microsoft.SharePoint.MigrationTool.PowerShell
4848
4949
#Register the SPMT session with SPO credentials#
50-
Register-SPMTMigration -SPOCredential $Global:SPOCredential -Force
50+
Register-SPMTMigration -SPOCredential $Global:SPOCredential -Force
5151
5252
#Add two tasks into the session. One is SharePoint migration task, and another is File Share migration task.#
5353
Add-SPMTTask -SharePointSourceCredential $Global:SPCredential -SharePointSourceSiteUrl $Global:SourceSiteUrl -TargetSiteUrl $Global:SPOUrl -MigrateAll

spmt/spmt-ps/spmt/Stop-SPMTMigration.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ Cancel the current migration session.
2929
3030
$Global:SourceSiteUrl = "http://YourOnPremSite/"
3131
$Global:OnPremUserName = "Yourcomputer\administrator"
32-
$Global:OnPremPassword = ConvertTo-SecureString -String "OnPremPassword" -AsPlainText -Force
32+
$Global:OnPremPassword = ConvertTo-SecureString -String "OnPremPassword" -AsPlainText -Force
3333
$Global:SPCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Global:OnPremUserName, $Global:OnPremPassword
3434
$Global:SourceListName = "SourceListName"
3535
3636
3737
#Define SPO target#
38-
$Global:SPOUrl = https://contoso.sharepoint.com
39-
$Global:UserName = [email protected]
38+
$Global:SPOUrl = "https://contoso.sharepoint.com"
39+
$Global:UserName = "[email protected]"
4040
$Global:PassWord = ConvertTo-SecureString -String "YourSPOPassword" -AsPlainText -Force
4141
$Global:SPOCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Global:UserName, $Global:PassWord
4242
$Global:TargetListName = "TargetListName"
@@ -48,19 +48,19 @@ $Global:FileshareSource = "YourFileShareDataSource"
4848
Import-Module Microsoft.SharePoint.MigrationTool.PowerShell
4949
5050
#Register the SPMT session with SPO credentials#
51-
Register-SPMTMigration -SPOCredential $Global:SPOCredential -Force
51+
Register-SPMTMigration -SPOCredential $Global:SPOCredential -Force
5252
5353
#Add two tasks into the session. One is SharePoint migration task, and another is File Share migration task.#
54-
Add-SPMTTask -SharePointSourceCredential $Global:SPCredential -SharePointSourceSiteUrl $Global:SourceSiteUrl -TargetSiteUrl $Global:SPOUrl -MigrateAll
54+
Add-SPMTTask -SharePointSourceCredential $Global:SPCredential -SharePointSourceSiteUrl $Global:SourceSiteUrl -TargetSiteUrl $Global:SPOUrl -MigrateAll
5555
Add-SPMTTask -FileShareSource $Global:FileshareSource -TargetSiteUrl $Global:SPOUrl -TargetList $Global:TargetListName
5656
5757
#Start Migration in the background.#
58-
Start-SPMTMigration -NoShow
58+
Start-SPMTMigration -NoShow
5959
6060
#cancel the started migration.#
61-
Stop-SPMTMigration
61+
Stop-SPMTMigration
6262
```
63-
Start a migration first, then run "Stop-SPMTMigration" to cancel the migration.
63+
Start a migration first, then run "Stop-SPMTMigration" to cancel the migration.
6464

6565
## PARAMETERS
6666

spmt/spmt-ps/spmt/Unregister-SPMTMigration.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Unregister-SPMTMigration
1919
```
2020

2121
## DESCRIPTION
22-
Remove the SPMT migration session created.
22+
Remove the SPMT migration session created.
2323

2424
## EXAMPLES
2525

@@ -29,14 +29,14 @@ Remove the SPMT migration session created.
2929
3030
$Global:SourceSiteUrl = "http://YourOnPremSite/"
3131
$Global:OnPremUserName = "Yourcomputer\administrator"
32-
$Global:OnPremPassword = ConvertTo-SecureString -String "OnPremPassword" -AsPlainText -Force
32+
$Global:OnPremPassword = ConvertTo-SecureString -String "OnPremPassword" -AsPlainText -Force
3333
$Global:SPCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Global:OnPremUserName, $Global:OnPremPassword
3434
$Global:SourceListName = "SourceListName"
3535
3636
3737
#Define SPO target#
38-
$Global:SPOUrl = https://contoso.sharepoint.com
39-
$Global:UserName = [email protected]
38+
$Global:SPOUrl = "https://contoso.sharepoint.com"
39+
$Global:UserName = "[email protected]"
4040
$Global:PassWord = ConvertTo-SecureString -String "YourSPOPassword" -AsPlainText -Force
4141
$Global:SPOCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Global:UserName, $Global:PassWord
4242
$Global:TargetListName = "TargetListName"
@@ -48,20 +48,20 @@ $Global:FileshareSource = "YourFileShareDataSource"
4848
Import-Module Microsoft.SharePoint.MigrationTool.PowerShell
4949
5050
#Register the SPMT session with SPO credentials#
51-
Register-SPMTMigration -SPOCredential $Global:SPOCredential -Force
51+
Register-SPMTMigration -SPOCredential $Global:SPOCredential -Force
5252
5353
#Add two tasks into the session. One is SharePoint migration task, and another is File Share migration task.#
54-
Add-SPMTTask -SharePointSourceCredential $Global:SPCredential -SharePointSourceSiteUrl $Global:SourceSiteUrl -TargetSiteUrl $Global:SPOUrl -MigrateAll
54+
Add-SPMTTask -SharePointSourceCredential $Global:SPCredential -SharePointSourceSiteUrl $Global:SourceSiteUrl -TargetSiteUrl $Global:SPOUrl -MigrateAll
5555
Add-SPMTTask -FileShareSource $Global:FileshareSource -TargetSiteUrl $Global:SPOUrl -TargetList $Global:TargetListName
5656
5757
#Start Migration in the background.#
58-
Start-SPMTMigration -NoShow
58+
Start-SPMTMigration -NoShow
5959
6060
#Cancel the started migration and unregister the migration session.#
61-
Stop-SPMTMigration
62-
Unregister-SPMTMigration
61+
Stop-SPMTMigration
62+
Unregister-SPMTMigration
6363
```
64-
Cancel the started migration and unregister the migration session.
64+
Cancel the started migration and unregister the migration session.
6565

6666
## PARAMETERS
6767

0 commit comments

Comments
 (0)