Skip to content

Commit a0f1539

Browse files
committed
2 parents e032276 + e815f3b commit a0f1539

File tree

248 files changed

+5664
-2316
lines changed

Some content is hidden

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

248 files changed

+5664
-2316
lines changed

.openpublishing.publish.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,4 +282,4 @@
282282
"nuget_feed": "https://www.myget.org/F/op/api/v2"
283283
}
284284
]
285-
}
285+
}

exchange/docs-conceptual/exchange-eop/connect-to-exchange-online-protection-powershell.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Exchange Online Protection PowerShell allows you to manage your Exchange Online
4040

4141
`Files cannot be loaded because running scripts is disabled on this system. Provide a valid certificate with which to sign the files.`
4242

43-
To enable Windows PowerShell to run signed scripts, run the following command in an elevated Windows PowerShell window (a Windows PowerShell window you open by selecting **Run as administrator**):
43+
To require all scripts that you download from the internet are signed by a trusted publisher, run the following command in an elevated Windows PowerShell window (a Windows PowerShell window you open by selecting **Run as administrator**):
4444

4545
```
4646
Set-ExecutionPolicy RemoteSigned
@@ -76,7 +76,7 @@ Exchange Online Protection PowerShell allows you to manage your Exchange Online
7676
3. Run the following command:
7777
7878
```
79-
Import-PSSession $Session
79+
Import-PSSession $Session -DisableNameChecking
8080
```
8181
8282
[!NOTE]

exchange/docs-conceptual/exchange-online/connect-to-exchange-online-powershell/connect-to-exchange-online-powershell.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ Exchange Online PowerShell allows you to manage your Exchange Online settings fr
4444

4545
`Files cannot be loaded because running scripts is disabled on this system. Provide a valid certificate with which to sign the files.`
4646

47-
To enable Windows PowerShell to run signed scripts, run the following command in an elevated Windows PowerShell window (a Windows PowerShell window you open by selecting **Run as administrator**):
47+
To require all PowerShell scripts that you download from the internet are signed by a trusted publisher, run the following command in an elevated Windows PowerShell window (a Windows PowerShell window you open by selecting **Run as administrator**):
4848

49-
```
50-
Set-ExecutionPolicy RemoteSigned
51-
```
49+
```
50+
Set-ExecutionPolicy RemoteSigned
51+
```
5252
5353
You need to configure this setting only once on your computer, not every time you connect.
5454
@@ -75,11 +75,17 @@ Exchange Online PowerShell allows you to manage your Exchange Online settings fr
7575
- For Office 365 operated by 21Vianet, use the _ConnectionUri_ value: `https://partner.outlook.cn/PowerShell`
7676
7777
- For Office 365 Germany, use the _ConnectionUri_ value: `https://outlook.office.de/powershell-liveid/`
78+
79+
- If you're behind a proxy server, run this command first: `$ProxyOptions = New-PSSessionOption -ProxyAccessType <Value>`, where the _ProxyAccessType_ value is `IEConfig`, `WinHttpConfig`, or `AutoDetect`.
80+
81+
Then, add the following parameter and value to the end of the $Session = ... command: `-SessionOption $ProxyOptions`.
82+
83+
For more information, see [New-PSSessionOption](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/new-pssessionoption).
7884
7985
3. Run the following command.
8086
8187
```
82-
Import-PSSession $Session
88+
Import-PSSession $Session -DisableNameChecking
8389
```
8490
8591
> [!NOTE]

exchange/docs-conceptual/exchange-server/connect-to-exchange-servers-using-remote-powershell.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ If you don't have the Exchange management tools installed on your local computer
4444

4545
`Files cannot be loaded because running scripts is disabled on this system. Provide a valid certificate with which to sign the files.`
4646

47-
To enable Windows PowerShell to run signed scripts, run the following command in an elevated Windows PowerShell window (a Windows PowerShell window you open by selecting **Run as administrator**):
47+
To require all scripts that you download from the internet are signed by a trusted publisher, run the following command in an elevated Windows PowerShell window (a Windows PowerShell window you open by selecting **Run as administrator**):
4848

4949
```
5050
Set-ExecutionPolicy RemoteSigned
@@ -76,7 +76,7 @@ If you don't have the Exchange management tools installed on your local computer
7676
3. Run the following command:
7777
7878
```
79-
Import-PSSession $Session
79+
Import-PSSession $Session -DisableNameChecking
8080
```
8181
8282
> [!NOTE]

exchange/docs-conceptual/exchange-server/control-remote-powershell-access-to-exchange-servers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ For additional management tasks related to remote PowerShell, see [Connect to Ex
3333
3434
## Use the Exchange Management Shell to enable or disable remote PowerShell access for a user
3535

36-
This example disable remote PowerShell access for the user named Therese Lindqvist.
36+
This example disables remote PowerShell access for the user named Therese Lindqvist.
3737

3838
```
3939
Set-User "Therese Lindqvist" -RemotePowerShellEnabled $false
@@ -42,7 +42,7 @@ Set-User "Therese Lindqvist" -RemotePowerShellEnabled $false
4242
This example enables remote PowerShell access for the user named Sirirat Kitjakarn.
4343

4444
```
45-
Set-User "Sirirat Kitjakarn" -RemotePowerShellEnabled $false
45+
Set-User "Sirirat Kitjakarn" -RemotePowerShellEnabled $true
4646
```
4747

4848
## Use the Exchange Management Shell to disable remote PowerShell access for many users
@@ -135,4 +135,4 @@ To display only those users who have access to remote PowerShell, run the follow
135135

136136
```
137137
Get-User -ResultSize unlimited -Filter {RemotePowerShellEnabled -eq $true}
138-
```
138+
```

exchange/docs-conceptual/exchange-server/exchange-cmdlet-syntax.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Exchange PowerShell help follows conventions that indicate what's required or op
3131
|-|A hyphen indicates a parameter. For example, `-Identity`.|
3232
|\< \>|Angle brackets indicate the possible values for a parameter. For example, `-Location <ServerName>` or `-Enabled <$true | $false>`.|
3333
|[ ]|Square brackets indicate optional parameters and their values. For example, `[-WhatIf <SwitchParameter>]`. Parameter-value pairs that aren't enclosed in square brackets are required.|
34-
|\| |Pipe symbols in parameter values indicate a choice between values. For example, `-Enabled <$true | $false>` indicates the _Enabled_ parameter can have the value `$true` or `$false`.|
34+
|\| |Pipe symbols in parameter values indicate a choice between values. For example, -Enabled \<$true \| $false\> indicates the _Enabled_ parameter can have the value `$true` or `$false`.|
3535

3636
These command conventions help you understand how a command is constructed. With the exception of the hyphen that indicates a parameter, you don't use these symbols as they're described in the table when you run cmdlets in Exchange PowerShell.
3737

@@ -117,12 +117,12 @@ The following table shows the valid operators that you can use in an Exchange co
117117

118118
|**Operator**|**Description**|
119119
|:-----|:-----|
120-
|**=** | The equal sign is used as an assignment character. The value on the right side of the equal sign is assigned to the variable on the left side of the equal sign. The following characters are also assignment characters: <br/> **+=** Add the value on the right side of the equal sign to the current value that's contained in the variable on the left side of the equal sign. <br/> **-=** Subtract the value on the right side of the equal sign from the current value that's contained in the variable on the left side of the equal sign. <br/> **\*=** Multiply the current value of the variable on the left side of the equal sign by the value that's specified on the right side of the equal sign. <br/> **/=** Divide the current value of the variable on the left side of the equal sign by the value that's specified on the right side of the equal sign. <br/> **%=** Modify the current value of the variable on the left side of the equal sign by the value that's specified on the right side of the equal sign. <br/> |
120+
|**=** | The equal sign is used as an assignment character. The value on the right side of the equal sign is assigned to the variable on the left side of the equal sign. The following characters are also assignment characters: <br/> • **+=**: Add the value on the right side of the equal sign to the current value that's contained in the variable on the left side of the equal sign. <br/> • **-=**: Subtract the value on the right side of the equal sign from the current value that's contained in the variable on the left side of the equal sign. <br/> • **\*=**: Multiply the current value of the variable on the left side of the equal sign by the value that's specified on the right side of the equal sign. <br/> • **/=**: Divide the current value of the variable on the left side of the equal sign by the value that's specified on the right side of the equal sign. <br/> • **%=**: Modify the current value of the variable on the left side of the equal sign by the value that's specified on the right side of the equal sign. |
121121
|**:** | A colon can be used to separate a parameter's name from the parameter's value. For example, `-Enabled:$True`. Using a colon is optional with all parameter types except switch parameters. For more information about switch parameters, see [Parameters](https://technet.microsoft.com/library/bc81f639-c822-4b2b-a692-694c43f5f57e.aspx). |
122122
|**!** | The exclamation point is a logical **NOT** operator. When it is used with the equal ( **=** ) sign, the combined pair means "not equal to." |
123123
|**[ ]** | Brackets are used to specify the index value of an array position. Index values are offsets that start at zero. For example, `$Red[9]` refers to the tenth index position in the array, `$Red`. <br/> Brackets can also be used to assign a type to a variable (for example, `$A=[XML] "<Test><A>value</A></Test>"`). The following variable types are available: `Array`, `Bool`, `Byte`, `Char`, `Char[]`, `Decimal`, `Double`, `Float`, `Int`, `Int[]`, `Long`, `Long[]`, `RegEx`, `Single`, `ScriptBlock`, `String`, `Type`, and `XML.` |
124-
|**{ }** |Braces are used to include an expression in a command. For example, `Get-Process | Where {$_.HandleCount -gt 400}` |
125-
|**\|** |The pipe symbol is used when one cmdlet pipes a result to another cmdlet. For example, `Get-Mailbox -Server SRV1 | Set-Mailbox -ProhibitSendQuota 2GB`. |
124+
|**{ }** |Braces are used to include an expression in a command. For example, Get-Process \| Where {$\_.HandleCount -gt 400} |
125+
|**\|** |The pipe symbol is used when one cmdlet pipes a result to another cmdlet. For example, Get-Mailbox -Server SRV1 \| Set-Mailbox -ProhibitSendQuota 2GB. |
126126
|**\>** |The right-angle bracket is used to send the output of a command to a file, and the contents of the file are overwritten. For example, `Get-TransportRulePredicate > "C:\My Documents\Output.txt"`. |
127127
|**\>\>** |Double right-angle brackets are used to append the output of a command to an existing file. If the file doesn't exist, a new file is created. For example, `Get-TransportRulePredicate >> "C:\My Documents\Output.txt"`. |
128128
|**"** |Double quotation marks are used to enclose text strings that contains spaces. |
@@ -132,9 +132,9 @@ The following table shows the valid operators that you can use in an Exchange co
132132
|**..** |Double-periods indicate a value range. For example, if an array contains several indexes, you can return the values of all indexes between the second and fifth indexes by running the command: `$Blue[2..5]`. |
133133
|**+** |The **+** operator adds two values together. For example, `6 + 6` equals `12`. |
134134
|**-** |The **-** operator subtracts one value from another value (for example, `12 - 6` equals `6`) or indicates a negative number (for example, `-6 * 6` equals `-36`). |
135-
|**\*** |You can use the wildcard character to match strings (for example `Get-User | Where-Object {$_.Department -like 'Sales*'}`), multiply numeric values (for example, `6 * 6` equals `36`), or repeat the string value the specified number of times (for example, `"Test" * 3` equals `TestTestTest`).|
135+
|**\*** |You can use the wildcard character to match strings (for example, Get-User \| Where-Object {$\_.Department -like 'Sales*'}), multiply numeric values (for example, `6 * 6` equals `36`), or repeat the string value the specified number of times (for example, `"Test" * 3` equals `TestTestTest`).|
136136
|**/** |The **/** operator divides one value by another. For example, `6 / 6` equals `1`. |
137-
|**%** |In a numerical evaluation, the **%** operator returns the remainder from a division operator. For example, `6 % 4` equals `2`. <br/> In a pipeline, the percent character ( `%` ) is shorthand for the **ForEach-Object** cmdlet. For example, `Import-Csv c:\MyFile.csv | ForEach-Object {Set-Mailbox $_.Identity -Name $_.Name}` is the same as `Import-Csv c:\MyFile.csv | % {Set-Mailbox $_.Identity -Name $_.Name}`. For more information, see [Pipelining](https://technet.microsoft.com/library/59411ed3-926b-4eec-a462-84e6b26056c9.aspx). <br/> |
138-
|**?** |The question mark character ( **?** ) is shorthand for the **Where-Object** cmdlet. For example, `Get-Alias | Where-Object {$_.Definition -eq "Clear-Host"}` is the same as `Get-Alias | ? {$_.Definition -eq "Clear-Host"}`. |
137+
|**%** |In a numerical evaluation, the **%** operator returns the remainder from a division operator. For example, `6 % 4` equals `2`. <br/> In a pipeline, the percent character ( `%` ) is shorthand for the **ForEach-Object** cmdlet. For example, Import-Csv c:\MyFile.csv \| ForEach-Object {Set-Mailbox $\_.Identity -Name $\_.Name} is the same as Import-Csv c:\MyFile.csv \| % {Set-Mailbox $\_.Identity -Name $\_.Name}. For more information, see [Pipelining](https://technet.microsoft.com/library/59411ed3-926b-4eec-a462-84e6b26056c9.aspx). |
138+
|**?** |The question mark character ( **?** ) is shorthand for the **Where-Object** cmdlet. For example, Get-Alias \| Where-Object {$\_.Definition -eq "Clear-Host"} is the same as Get-Alias \| ? {$\_.Definition -eq "Clear-Host"}|
139139

140140

0 commit comments

Comments
 (0)