Examples/Resources/FSRMFileScreenException/1-FSRMFileScreenException.ps1
<# .EXAMPLE This configuration add a File Screen Exception that Includes 'E-mail Files' to the path 'D:\Users'. #> Configuration Example { param ( [Parameter()] [System.String[]] $NodeName = 'localhost' ) Import-DscResource -Module FSRMDsc Node $NodeName { FSRMFileScreenException DUsersFileScreenException { Path = 'd:\users' Description = 'File Screen for Blocking Some Files' Ensure = 'Present' IncludeGroup = 'E-mail Files' } # End of FSRMFileScreenException Resource } # End of Node } # End of Configuration |