You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exchange/docs-conceptual/exchange-management-shell.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,12 @@ The Exchange Management Shell also provides a robust and flexible scripting plat
21
21
22
22
To start using the Exchange Management Shell immediately, see the [Exchange Management Shell documentation](#exchange-management-shell-documentation) section later in this article.
23
23
24
+
> [!NOTE]
25
+
> There is no Microsoft-provided module in the PowerShell Gallery for Exchange Server PowerShell. Instead, to use PowerShell in Exchange Server, you have the following options:
26
+
>
27
+
> - Use the Exchange Management Shell on an Exchange server or that you've installed locally on your own computer using a **Management tools** only installation of Exchange server. For more information, see [Install the Exchange Server Management Tools](/Exchange/plan-and-deploy/post-installation-tasks/install-management-tools) and [Open the Exchange Management Shell](open-the-exchange-management-shell.md).
28
+
> - Use remote PowerShell from a Windows PowerShell session. For more information, see [Connect to Exchange servers using remote PowerShell](connect-to-exchange-servers-using-remote-powershell.md).
29
+
24
30
## How the Exchange Management Shell works on all Exchange server roles except Edge Transport
25
31
26
32
Whether you use the Exchange Management Shell on a local Exchange server or on an Exchange server that's located across the country, remote PowerShell does the work.
Copy file name to clipboardExpand all lines: exchange/docs-conceptual/exchange-online-powershell-v2.md
+24-10Lines changed: 24 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -223,29 +223,43 @@ The EXO V2 module is supported in the following versions of Windows:
223
223
> [!NOTE]
224
224
> As described [earlier in this article](#updates-for-version-206), v2.0.6 of the EXO V2 module does not require Basic authentication in WinRM for many cmdlets.
225
225
>
226
-
> You must temporarily enable WinRM to run the following commands. You can enable WinRM by running the command: `winrm quickconfig`.
226
+
> You must temporarily enable WinRM to run the following winrm commands. You can enable WinRM by running the command: `winrm quickconfig`.
227
227
228
-
To verify that Basic authentication is enabled for WinRM, run this command **in a Command Prompt**(not in PowerShell):
228
+
To verify that Basic authentication is enabled for WinRM, run the following command in a **Command Prompt**or **Windows PowerShell**:
229
229
230
-
```dos
230
+
```DOS
231
231
winrm get winrm/config/client/auth
232
232
```
233
233
234
-
If you don't see the value `Basic = true`, you need to run this command **in a Command Prompt**(not in PowerShell) to enable Basic authentication for WinRM:
234
+
If you don't see the value `Basic = true`, you need to run **one**of the following commands to enable Basic authentication for WinRM:
235
235
236
-
```dos
237
-
winrm set winrm/config/client/auth @{Basic="true"}
238
-
```
236
+
-**In a Command Prompt**:
237
+
238
+
```DOS
239
+
winrm set winrm/config/client/auth @{Basic="true"}
240
+
```
239
241
240
-
**Note**: If you'd rather run the command in PowerShell, enclose this part of the command in quotation marks: `'@{Basic="true"}'`.
242
+
- **In Windows PowerShell**:
241
243
242
-
If Basic authentication for WinRM is disabled, you'll get this error when you try to connect:
244
+
```DOS
245
+
winrm set winrm/config/client/auth '@{Basic="true"}'
246
+
```
247
+
248
+
- **In Windows PowerShell to modify the registry**:
If Basic authentication for WinRM is disabled, you'll get one of the following errors when you try to connect:
243
255
244
256
> The WinRM client cannot process the request. Basic authentication is currently disabled in the client configuration. Change the client configuration and try the request again.
245
257
258
+
> Create Powershell Session is failed using OAuth.
259
+
246
260
> [!TIP]
247
261
> Having problems? Ask for help in the Exchange forums. Visit the forums at: [Exchange Online](https://go.microsoft.com/fwlink/p/?linkId=267542), or [Exchange Online Protection](https://go.microsoft.com/fwlink/p/?linkId=285351).
248
-
262
+
249
263
### Install the EXO V2 module
250
264
251
265
To install the EXO V2 module for the first time, complete the following steps:
This cmdlet updates the mailbox object that's specified by the Identity parameter.
65
+
66
+
> [!NOTE]
67
+
> You can use this cmdlet to add a maximum of 500 permission entries (ACEs) to a mailbox. To grant permissions to more than 500 users, use security groups instead of individual users for the User parameter. Security groups contain many members, but only count as one entry.
66
68
67
69
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).
This example shows details about the compliance search action named "Case 1234\_Preview"
90
+
This example shows details about the compliance search action named "Case 1234_Preview"
91
91
92
92
## PARAMETERS
93
93
94
94
### -Identity
95
95
The Identity parameter specifies the compliance search action that you want to view. You can use any value that uniquely identifies the compliance search action. For example:
96
96
97
-
- Name: The compliance search action name uses the syntax `"Compliance Search Name\_Action"`. For example, `"Case 1234\_Preview"`.
97
+
- Name: The compliance search action name uses the syntax `"Compliance Search Name_Action"`. For example, `"Case 1234_Preview"`.
98
98
- JobRunId (GUID)
99
99
100
100
You can't use this parameter with the Export, Preview, or Purge parameters.
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/Get-RMSTrustedPublishingDomain.md
+13-23Lines changed: 13 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,6 @@ This cmdlet is available only in the cloud-based service.
16
16
17
17
**Note**: This cmdlet has been deprecated and is no longer used.
18
18
19
-
Use the Get-RMSTrustedPublishingDomain cmdlet to view the settings of an existing trusted publishing domain (TPD) in your organization.
20
-
21
-
**Note**: We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell).
22
-
23
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).
A trusted publishing domain contains the settings needed to use RMS features in your organization. For example, users can apply RMS templates to email messages.
30
+
This cmdlet has been deprecated and is no longer used.
35
31
36
32
## EXAMPLES
37
33
38
34
### Example 1
39
35
```powershell
40
-
Get-RMSTrustedPublishingDomain | Format-List
36
+
Get-RMSTrustedPublishingDomain
41
37
```
42
38
43
-
This example lists all the trusted publishing domains that are configured in your organization and shows detailed information for each trusted publishing domain.
39
+
This cmdlet has been deprecated and is no longer used.
44
40
45
41
## PARAMETERS
46
42
47
-
### -Default
48
-
The Default switch filters the results by the default trusted publishing domain. You don't need to specify a value with this switch.
49
-
50
-
The default trusted publishing domain displays RMS templates and provides rights protection to all new content. There can be only one default trusted publishing domain in an organization.
43
+
### -Identity
44
+
This cmdlet has been deprecated and is no longer used.
51
45
52
46
```yaml
53
-
Type: SwitchParameter
47
+
Type: RmsTrustedPublishingDomainIdParameter
54
48
Parameter Sets: (All)
55
49
Aliases:
56
50
Applicable: Exchange Online
57
51
58
52
Required: False
59
-
Position: Named
53
+
Position: 1
60
54
Default value: None
61
-
Accept pipeline input: False
55
+
Accept pipeline input: True
62
56
Accept wildcard characters: False
63
57
```
64
58
65
-
### -Identity
66
-
The Identity parameter specifies the trusted publishing domain. You can use any value that uniquely identifies the trusted publishing domain, for example:
67
-
68
-
- Name
69
-
- Distinguished name (DN)
70
-
- GUID
59
+
### -Default
60
+
This cmdlet has been deprecated and is no longer used.
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/Import-RMSTrustedPublishingDomain.md
+29-69Lines changed: 29 additions & 69 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,6 @@ This cmdlet is available only in the cloud-based service.
16
16
17
17
**Note**: This cmdlet has been deprecated and is no longer used.
18
18
19
-
Use the Import-RMSTrustedPublishingDomain cmdlet to import a trusted publishing domain (TPD) from an on-premises server running Active Directory Rights Management Services (AD RMS) or from RMS Online into your cloud-based organization.
20
-
21
-
**Note**: We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell).
22
-
23
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).
A TPD contains the settings needed to use RMS features in your organization. For example, users can apply RMS templates to email messages. After you export the TPD from an on-premises AD RMS server to an XML file, you can import the XML file into your cloud-based organization.
70
-
71
-
If the InternalLicensingEnabled parameter value is $true on the Set-IRMConfiguration cmdlet, all TPDs require a private key. If the InternalLicensingEnabled parameter value is $false, TPDs don't require a private key. However, the only RMS feature available to the organization is Outlook protection rules. Typically, TPDs without private keys are created when the AD RMS server uses a hardware-based cryptographic service provider (CSP) or a custom CSP.
72
-
73
-
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).
65
+
This cmdlet has been deprecated and is no longer used.
This cmdlet has been deprecated and is no longer used.
89
75
90
76
## PARAMETERS
91
77
92
-
### -ExtranetLicensingUrl
93
-
The ExtranetLicensingUrl parameter specifies the external licensing URL of the on-premises AD RMS server that's stamped into the publishing license. The publishing license specifies the users that can open the rights-protected content, under which conditions the content may be opened by the user, and the rights that each user will have to the rights-protected content.
94
-
95
-
By default, the value of the ExtranetLicensingUrl parameter is `https://<FQDN>/_wmcs/licensing`.
78
+
### -Name
79
+
This cmdlet has been deprecated and is no longer used.
The FileData parameter specifies the XML file you want to import. The XML file contains the TPD you exported from the on-premises AD RMS server.
112
-
113
-
A valid value for this parameter requires you to read the file to a byte-encoded object using the following syntax: `([System.IO.File]::ReadAllBytes('<Path>\<FileName>'))`. You can use this command as the parameter value, or you can write the output to a variable (`$data = [System.IO.File]::ReadAllBytes('<Path>\<FileName>')`) and use the variable as the parameter value (`$data`).
94
+
### -ExtranetLicensingUrl
95
+
This cmdlet has been deprecated and is no longer used.
The IntranetLicensingUrl parameter specifies the internal licensing URL of the on-premises AD RMS server that's stamped into the publishing license. The publishing license specifies the users that can open the rights-protected content, under which conditions the content may be opened by the user, and the rights that each user will have to the rights-protected content.
130
-
131
-
By default, the value of the IntranetLicensingUrl parameter is `https://<server name>/_wmcs/licensing`.
110
+
### -FileData
111
+
This cmdlet has been deprecated and is no longer used.
The Name parameter specifies the name of the TPD. If you use the RefreshTemplates switch, the value must match the name of the previously imported TPD.
126
+
### -IntranetLicensingUrl
127
+
This cmdlet has been deprecated and is no longer used.
The Password parameter specifies the password of the TPD that you want to import. The password value must match the password in the XML file when you exported the TPD from the on-premises AD RMS server.
164
-
165
-
This parameter uses the syntax `(ConvertTo-SecureString -String '<password>' -AsPlainText -Force)`. Or, before you run this command, store the password as a variable (for example, `$password = Read-Host "Enter password" -AsSecureString`), and then use the variable name (`$password`) for this parameter.
143
+
This cmdlet has been deprecated and is no longer used.
The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on if the cmdlet requires confirmation before proceeding.
198
-
199
-
- Destructive cmdlets (for example, Remove-\* cmdlets) have a built-in pause that forces you to acknowledge the command before proceeding. For these cmdlets, you can skip the confirmation prompt by using this exact syntax: `-Confirm:$false`.
200
-
- Most other cmdlets (for example, New-\* and Set-\* cmdlets) don't have a built-in pause. For these cmdlets, specifying the Confirm switch without a value introduces a pause that forces you acknowledge the command before proceeding.
175
+
This cmdlet has been deprecated and is no longer used.
The ExtranetCertificationUrl parameter specifies the external certification URL of the on-premises AD RMS server that's stamped into the Rights Account Certificate (RAC). The RAC establishes a user's identity in the AD RMS system, and is used to decrypt content.
237
-
238
-
By default, the value of the ExtranetCertificationUrl parameter is `https://<FQDN>/_wmcs/certification/servercertification.asmx`.
207
+
This cmdlet has been deprecated and is no longer used.
The IntranetCertificationUrl parameter specifies the internal certification URL of the on-premises AD RMS server that's stamped into the RAC. The RAC establishes a user's identity in the AD RMS system, and is used to decrypt content.
255
-
256
-
By default, the value of the IntranetCertificationUrl parameter is `https://<server name>/_wmcs/certification/servercertification.asmx`.
223
+
This cmdlet has been deprecated and is no longer used.
The RefreshTemplates switch specifies whether to update the RMS templates in a previously imported TPD. You don't need to specify a value with this switch.
273
-
274
-
When you add, modify, or remove RMS templates in a TPD on the AD RMS server, you export the updated TPD to a new XML file, and import the new XML file in your cloud-based organization. The RefreshTemplates switch uses the following rules:
275
-
276
-
- Only the FileData, Password, and Name parameters are required. The value of the Name parameter must match the name of the previously imported TPD.
277
-
- If the new XML file doesn't contain an RMS template that was defined in the previously imported TPD, the RMS template is removed from the cloud-based organization.
278
-
- If the new XML file contains an updated RMS template that was defined in the previously imported TPD, the RMS template settings are updated in the cloud-based organization. However, the RMS template isn't changed from Archived to Distributed or vice versa.
279
-
- If the new XML file contains an RMS template that wasn't imported in the original TPD, the RMS template is added to the cloud-based organization in the Archived state. To make the new RMS template usable, you must change its state from Archived to Distributed using the Set-RMSTemplate cmdlet.
239
+
This cmdlet has been deprecated and is no longer used.
The WhatIf switch simulates the actions of the command. You can use this switch to view the changes that would occur without actually applying those changes. You don't need to specify a value with this switch.
255
+
This cmdlet has been deprecated and is no longer used.
0 commit comments