-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request? #10
Comments
Hello,
I see what you mean.
I can do something around include_list, but it will be applied on all shares.
+
David
De : markrholloway <[email protected]>
A : davidande/FSRM-ANTICRYPTO <[email protected]>
Cc : Subscribed <[email protected]>
Envoyé : 20/05/2019 13:31
Objet : [davidande/FSRM-ANTICRYPTO] Feature Request? (#10)
Hi David,
Would it be possible to add the ability to include files in the file groups list (like you do to remove extensions with the ext_to_accept.txt to remove file extensions) or have the ability to include multiple file groups already created within the file screen template? I.e add the file group name to an Include_Group.txt file? This then gets added to the file screen template when re-created?
I ask, as every time the code is run, the file screen templates get removed and re added, which then remove any other file groups or manually added extensions from the file group/or template. A limitation of File Server Resource Manager is that you cant have multiple screen templates on a given share which is a shame if you also want to exclude executable files etc.
I hope that makes some sense?
Thanks in advance,
Mark
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
You can try this in the script add the lines after 165 test it. |
Hi David, Works for me too after editing your code with the following and placing it after line 166... $InclExtensions= Get-Content $wkdir\ext_to_include.txt | ForEach-Object { $_.Trim() } | Where-Object {$_ -notlike "#*"} Many thanks again, Mark |
Great |
Hi David,
Would it be possible to add the ability to include files in the file groups list (like you do to remove extensions with the ext_to_accept.txt to remove file extensions) or have the ability to include multiple file groups already created within the file screen template? I.e add the file group name to an Include_Group.txt file? This then gets added to the file screen template when re-created?
I ask, as every time the code is run, the file screen templates get removed and re added, which then remove any other file groups or manually added extensions from the file group/or template. A limitation of File Server Resource Manager is that you cant have multiple screen templates on a given share which is a shame if you also want to exclude executable files etc.
I hope that makes some sense?
Thanks in advance,
Mark
The text was updated successfully, but these errors were encountered: