CryptoBlocker
CryptoBlocker copied to clipboard
File screen not being created - Filescrn command not working?
We're seeing the script fail to create the file screen group when we run it. I've dug into the script and suspect that the FILESCRN.EXE ADD command is not liking the list of extensions that it's being passed. The server that this is being run on is running Server 2008 with PowerShell 4.0, which I believe is supported?
_This tool is deprecated and may be removed in future releases of Windows. Please use the Windows PowerShell he FileServerResourceManager module to administer File Server Resource Manager functionality. The parameter is incorrect.
Add new file groups.
The syntax of this command is:
Filescrn Filegroup Add /Filegroup:FG_NAME /Members:"MEMBERS" [/Nonmembers:"NONMEMBERS"] [/Remote:MACHINE]
/Filegroup:FG_NAME Add file group with name FG_NAME.
/Members:"MEMBERS" Configure file group member patterns. MEMBERS is a list of file name patterns separated by '|'.
/Nonmembers:"NONMEMBERS" Configure file group non-member patterns. NONMEMBERS is a list of file name patterns separated by '|'.
/Remote:MACHINE Perform the operation on machine MACHINE.
Example: Filescrn Filegroup Add /Filegroup:"Log Files" /Members:".log|.history"__
This is a duplicate of #12 and should be closed as such.