1
1
---
2
2
external help file :
3
- applicable : SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
3
+ applicable : SharePoint Server 2013, SharePoint Server 2016
4
4
title : Set-SPIRMSettings
5
5
schema : 2.0.0
6
6
---
@@ -41,35 +41,30 @@ For permissions and the most current information about Windows PowerShell for Sh
41
41
42
42
### --------------EXAMPLE 1------------
43
43
```
44
- C:\PS >Set-SPIRMSettings -RmsEnabled -UseActiveDirectoryDiscovery
44
+ PS C:\>Set-SPIRMSettings -RmsEnabled -UseActiveDirectoryDiscovery
45
45
```
46
46
47
47
This example enables IRM for the farm and configures it to use the default RMS server configured in Active Directory.
48
48
49
-
50
49
### --------------EXAMPLE 2------------
51
50
```
52
- C:\PS >Set-SPIRMSettings -RmsEnabled -CertificateServerUrl http://myrmsserver
51
+ PS C:\>Set-SPIRMSettings -RmsEnabled -CertificateServerUrl http://myrmsserver
53
52
```
54
53
55
54
This example enables IRM for the farm and specifies the URL of the RMS server to use.
56
55
57
-
58
56
### --------------EXAMPLE 3------------
59
57
```
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
65
61
```
66
62
67
63
This example enables IRM for the specified tenant and specifies the URL of the RMS server to use.
68
64
69
-
70
65
### --------------EXAMPLE 4------------
71
66
```
72
- C:\PS >Set-SPIRMSettings -RmsEnabled:$false
67
+ PS C:\>Set-SPIRMSettings -RmsEnabled:$false
73
68
```
74
69
75
70
This example disables IRM for the farm.
@@ -84,7 +79,7 @@ Specifies the address of the RMS certificate server to use for the tenant.
84
79
Type : Uri
85
80
Parameter Sets : UseSpecifiedCertificateUrl
86
81
Aliases :
87
- Applicable : SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
82
+ Applicable : SharePoint Server 2013, SharePoint Server 2016
88
83
89
84
Required : True
90
85
Position : Named
@@ -102,7 +97,7 @@ The default value is false.
102
97
Type : SwitchParameter
103
98
Parameter Sets : (All)
104
99
Aliases :
105
- Applicable : SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
100
+ Applicable : SharePoint Server 2013, SharePoint Server 2016
106
101
107
102
Required : True
108
103
Position : Named
@@ -124,7 +119,7 @@ If objects are not immediately used, or disposed of by using the `Stop-SPAssignm
124
119
Type: SPAssignmentCollection
125
120
Parameter Sets: (All)
126
121
Aliases:
127
- Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
122
+ Applicable: SharePoint Server 2013, SharePoint Server 2016
128
123
129
124
Required: False
130
125
Position: Named
@@ -141,7 +136,7 @@ This password is required in order to install the certificate in the machine cer
141
136
Type: SecureString
142
137
Parameter Sets: (All)
143
138
Aliases:
144
- Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
139
+ Applicable: SharePoint Server 2013, SharePoint Server 2016
145
140
146
141
Required: False
147
142
Position: Named
@@ -158,7 +153,7 @@ For more information, type the following command: `get-help about_commonparamete
158
153
Type: SwitchParameter
159
154
Parameter Sets: (All)
160
155
Aliases: cf
161
- Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
156
+ Applicable: SharePoint Server 2013, SharePoint Server 2016
162
157
163
158
Required: False
164
159
Position: Named
@@ -177,7 +172,7 @@ If the parameter is not specified, the local farm connects to RMS server using i
177
172
Type: X509Certificate2
178
173
Parameter Sets: (All)
179
174
Aliases:
180
- Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
175
+ Applicable: SharePoint Server 2013, SharePoint Server 2016
181
176
182
177
Required: False
183
178
Position: Named
@@ -195,7 +190,7 @@ Site subscriptions can only configure custom IRM settings if IRM is enabled at t
195
190
Type: SwitchParameter
196
191
Parameter Sets: (All)
197
192
Aliases:
198
- Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
193
+ Applicable: SharePoint Server 2013, SharePoint Server 2016
199
194
200
195
Required: False
201
196
Position: Named
@@ -211,7 +206,7 @@ Specifies whether or not the RMS service should be used for discovery that will
211
206
Type: SwitchParameter
212
207
Parameter Sets: UseServiceDiscovery
213
208
Aliases:
214
- Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
209
+ Applicable: SharePoint Server 2013, SharePoint Server 2016
215
210
216
211
Required: False
217
212
Position: Named
@@ -228,7 +223,7 @@ For more information, type the following command: `get-help about_commonparamete
228
223
Type: SwitchParameter
229
224
Parameter Sets: (All)
230
225
Aliases: wi
231
- Applicable: SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016
226
+ Applicable: SharePoint Server 2013, SharePoint Server 2016
232
227
233
228
Required: False
234
229
Position: Named
@@ -238,7 +233,9 @@ Accept wildcard characters: False
238
233
` ` `
239
234
240
235
# ## -UseOauth
241
- {{Fill UseOauth Description}}
236
+ Specifies whether OAuth should be used.
237
+
238
+ The valid values are True and False.
242
239
243
240
` ` ` yaml
244
241
Type: SwitchParameter
0 commit comments