Skip to content

FSRMSettings

dscbot edited this page Jun 16, 2024 · 3 revisions

FSRMSettings

Parameters

Parameter Attribute DataType Description Allowed Values
IsSingleInstance Key String Specifies the resource is a single instance, the value must be 'Yes'. Yes
SmtpServer Write String Specifies the fully qualified domain name (FQDN) or IP address of the SMTP server that FSRM uses to send email.
AdminEmailAddress Write String Specifies a semicolon-separated list of email addresses for the recipients of any email that the server sends to the administrator.
FromEmailAddress Write String Specifies the default email address from which FSRM sends email messages.
CommandNotificationLimit Write UInt32 Specifies the minimum number of seconds between individual running events of a command-type notification.
EmailNotificationLimit Write UInt32 Specifies the minimum number of seconds between individual running events of an email-type notification.
EventNotificationLimit Write UInt32 Specifies the minimum number of seconds between individual running events of an event-type notification.

Description

This resource is used to configure settings in File Server Resource Manager.

Examples

Example 1

This configuration will configure the FSRM Settings on a server.

Configuration FSRMSettings_Config
{
    Import-DscResource -Module FSRMDsc

    Node localhost
    {
        FSRMSettings FSRMSettings
        {
            IsSingleInstance         = 'Yes'
            SmtpServer               = 'smtp.contoso.com'
            AdminEmailAddress        = '[email protected]'
            FromEmailAddress         = '[email protected]'
            CommandNotificationLimit = 90
            EmailNotificationLimit   = 90
            EventNotificationLimit   = 90
        } # End of FSRMSettings Resource
    } # End of Node
} # End of Configuration