Examples/Resources/SqlAgentFailsafe/2-RemoveFailsafe.ps1

<#
    .EXAMPLE
        This example shows how to ensure that the SQL Agent
        failsafe operator FailsafeOp does not exist.
#>


Configuration Example
{

    Import-DscResource -ModuleName SqlServerDsc

    node localhost {
        SqlAgentFailsafe Remove_FailsafeOp {
            Ensure               = 'Absent'
            Name                 = 'FailsafeOp'
            ServerName           = 'TestServer'
            InstanceName         = 'MSSQLServer'
        }
    }
}