-
Notifications
You must be signed in to change notification settings - Fork 107
SPIrmSettings
dscbot edited this page Mar 17, 2023
·
18 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
IsSingleInstance | Key | String | Specifies the resource is a single instance, the value must be 'Yes' | Yes |
Ensure | Write | String | Enable or Disable IRM on this farm |
Present , Absent
|
UseADRMS | Write | Boolean | Use the RMS server published in this farm's Active Directory | |
RMSserver | Write | String | Use the specified RMS server, must provide in URL format |
Type: Distributed Requires CredSSP: No
This resource is used to manipulate the IRM settings in SharePoint, integrating it with AD RMS
The default value for the Ensure parameter is Present. When not specifying this parameter, IRM is configured.
This example shows how to apply the RMS settings to a local farm, pointing to a specific RMS server
Configuration Example
{
param
(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost
{
SPIrmSettings RMSSettings
{
IsSingleInstance = "Yes"
RMSserver = "https://rms.contoso.com"
PsDscRunAsCredential = $SetupAccount
}
}
}
- Home
- Getting Started
- Pre-requisites
- Installing the module
- Exporting SharePoint Configuration
- Creating Configuration Files
- Pre-created Examples
- Creating an Azure development environment
- Understanding Resources & Syntax
- Remote PowerShell Authentication
- Contributing to SharePointDsc
- Other useful modules for SharePoint DSC configurations