none
FSRM powershell script failed RRS feed

  • Question

  • First, thanks for everything.
    I have a script to handle FSRM on Windows 2012 with powershell.

    Basically, I set up a user group, a template, and finally a "filescreen" where he indicated the path.

    In all configurations indicated -Active, as shown specifications. but in the GUI FSRM, always it appears FileScreen  Pasive, the template take the value -Active

    the part of the script is this:

    New-FsrmFileScreenTemplate -Name "Anti-Ransomware" -IncludeGroup $ fileGroupName -Notification $ Notification, $ Notification2 -Active

    New-FsrmFileScreen -Path "C: \" -Active -Description "Monitor ransomware" -IncludeGroup $ fileGroupName -Template "Anti-Ransomware"

    Creates both the template as the FileScreen, but always passive in the FileScreen section.

    thanks for everything.

    references:
    https://technet.microsoft.com/es-es/library/jj900585%28v=wps.630%29.aspx?f=255&MSPPError=-2147217396
    https://technet.microsoft.com/es-es/library/jj900623(v=wps.630).aspx

     

    http://kinomakino.blogspot.com

    Wednesday, April 20, 2016 6:41 PM

Answers