Skip to content

Commit 960f7b7

Browse files
authored
Merge pull request MicrosoftDocs#631 from tseward/patch-318
Update Set-SPIRMSettings.md
2 parents 1cfd7d5 + ab9b53e commit 960f7b7

File tree

1 file changed

+19
-22
lines changed

1 file changed

+19
-22
lines changed

sharepoint/sharepoint-ps/sharepoint-server/Set-SPIRMSettings.md

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
external help file:
3-
applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
3+
applicable: SharePoint Server 2013, SharePoint Server 2016
44
title: Set-SPIRMSettings
55
schema: 2.0.0
66
---
@@ -41,35 +41,30 @@ For permissions and the most current information about Windows PowerShell for Sh
4141

4242
### --------------EXAMPLE 1------------
4343
```
44-
C:\PS>Set-SPIRMSettings -RmsEnabled -UseActiveDirectoryDiscovery
44+
PS C:\>Set-SPIRMSettings -RmsEnabled -UseActiveDirectoryDiscovery
4545
```
4646

4747
This example enables IRM for the farm and configures it to use the default RMS server configured in Active Directory.
4848

49-
5049
### --------------EXAMPLE 2------------
5150
```
52-
C:\PS>Set-SPIRMSettings -RmsEnabled -CertificateServerUrl http://myrmsserver
51+
PS C:\>Set-SPIRMSettings -RmsEnabled -CertificateServerUrl http://myrmsserver
5352
```
5453

5554
This example enables IRM for the farm and specifies the URL of the RMS server to use.
5655

57-
5856
### --------------EXAMPLE 3------------
5957
```
60-
C:\PS>site = Get-SPSite http://myspserver
61-
62-
C:\PS>$subscription = $site.SiteSubscription
63-
64-
C:\PS>Set-SPIRMSettings -SiteSubscription $subscription -RmsEnabled -CertificateServerUrl http://myrmsserver
58+
PS C:\>site = Get-SPSite http://myspserver
59+
PS C:\>$subscription = $site.SiteSubscription
60+
PS C:\>Set-SPIRMSettings -SiteSubscription $subscription -RmsEnabled -CertificateServerUrl http://myrmsserver
6561
```
6662

6763
This example enables IRM for the specified tenant and specifies the URL of the RMS server to use.
6864

69-
7065
### --------------EXAMPLE 4------------
7166
```
72-
C:\PS>Set-SPIRMSettings -RmsEnabled:$false
67+
PS C:\>Set-SPIRMSettings -RmsEnabled:$false
7368
```
7469

7570
This example disables IRM for the farm.
@@ -84,7 +79,7 @@ Specifies the address of the RMS certificate server to use for the tenant.
8479
Type: Uri
8580
Parameter Sets: UseSpecifiedCertificateUrl
8681
Aliases:
87-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
82+
Applicable: SharePoint Server 2013, SharePoint Server 2016
8883

8984
Required: True
9085
Position: Named
@@ -102,7 +97,7 @@ The default value is false.
10297
Type: SwitchParameter
10398
Parameter Sets: (All)
10499
Aliases:
105-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
100+
Applicable: SharePoint Server 2013, SharePoint Server 2016
106101

107102
Required: True
108103
Position: Named
@@ -124,7 +119,7 @@ If objects are not immediately used, or disposed of by using the `Stop-SPAssignm
124119
Type: SPAssignmentCollection
125120
Parameter Sets: (All)
126121
Aliases:
127-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
122+
Applicable: SharePoint Server 2013, SharePoint Server 2016
128123
129124
Required: False
130125
Position: Named
@@ -141,7 +136,7 @@ This password is required in order to install the certificate in the machine cer
141136
Type: SecureString
142137
Parameter Sets: (All)
143138
Aliases:
144-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
139+
Applicable: SharePoint Server 2013, SharePoint Server 2016
145140
146141
Required: False
147142
Position: Named
@@ -158,7 +153,7 @@ For more information, type the following command: `get-help about_commonparamete
158153
Type: SwitchParameter
159154
Parameter Sets: (All)
160155
Aliases: cf
161-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
156+
Applicable: SharePoint Server 2013, SharePoint Server 2016
162157
163158
Required: False
164159
Position: Named
@@ -177,7 +172,7 @@ If the parameter is not specified, the local farm connects to RMS server using i
177172
Type: X509Certificate2
178173
Parameter Sets: (All)
179174
Aliases:
180-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
175+
Applicable: SharePoint Server 2013, SharePoint Server 2016
181176
182177
Required: False
183178
Position: Named
@@ -195,7 +190,7 @@ Site subscriptions can only configure custom IRM settings if IRM is enabled at t
195190
Type: SwitchParameter
196191
Parameter Sets: (All)
197192
Aliases:
198-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
193+
Applicable: SharePoint Server 2013, SharePoint Server 2016
199194
200195
Required: False
201196
Position: Named
@@ -211,7 +206,7 @@ Specifies whether or not the RMS service should be used for discovery that will
211206
Type: SwitchParameter
212207
Parameter Sets: UseServiceDiscovery
213208
Aliases:
214-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
209+
Applicable: SharePoint Server 2013, SharePoint Server 2016
215210
216211
Required: False
217212
Position: Named
@@ -228,7 +223,7 @@ For more information, type the following command: `get-help about_commonparamete
228223
Type: SwitchParameter
229224
Parameter Sets: (All)
230225
Aliases: wi
231-
Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
226+
Applicable: SharePoint Server 2013, SharePoint Server 2016
232227
233228
Required: False
234229
Position: Named
@@ -238,7 +233,9 @@ Accept wildcard characters: False
238233
```
239234

240235
### -UseOauth
241-
{{Fill UseOauth Description}}
236+
Specifies whether OAuth should be used.
237+
238+
The valid values are True and False.
242239

243240
```yaml
244241
Type: SwitchParameter

0 commit comments

Comments
 (0)