Share via


Filescrn template import

Applies To: Windows Server 2008

Imports file screen templates from a file.

Note

To use this command, you must be logged on as an administrator or a member of the Administrators group.

For examples of how to use this command, see Examples.

Syntax

filescrn template import /file:<Path> [/template:<TemplateName | /ignore] [/remote:<ComputerName>]

Parameters

Parameter Description

/file:<Path>

Imports file screen templates from the XML file at path Path.

/template:<TemplateName>

Imports only the template TemplateName. If you do not specify this parameter, by default all templates in the file are imported.

/ignore

Ignores (does not overwrite) identically named templates that already exist on the computer.

/remote:<ComputerName>

Performs the operation on the remote computer ComputerName.

Remarks

  • You can create the XML file used for importing file screen templates by using the Filescrn template export command.

  • The shortest sequence of characters that uniquely identifies a parameter can be used as an abbreviation. For example, the following two commands are equivalent:

    filescrn t i /f:d:\screening.xml
    filescrn template import /file:d:\screening.xml
    
  • To perform operations on a remote computer by using the **/remote:**ComputerName parameter:

    • You must be logged on with a domain account that is a member of the Administrators group on both the local computer and the remote computer.

    • The remote computer must be running Windows Server 2008, and File Server Resource Manager must be installed.

    • The Remote File Server Resource Manager Management exception on the remote computer must be enabled. You enable this exception by using Windows Firewall in Control Panel.

Note

When you import templates on a remote computer by using the /remote: parameter, the XML file specified by the /file: parameter must be located on the local computer.

Examples

  • To import the Screened Files template to the local computer by using the file D:\screenedfiles.xml, type:

    filescrn template import /file:d:\screenedfiles.xml /template:"Screened Files"
    
  • To import all file screen templates to the remote computer FILESERVER1 from the local file D:\filescreens.xml on the local computer, type:

    filescrn template import /file:d:\filescreens.xml /ignore /remote:fileserver1
    

Additional references

Command-Line Syntax Key

Filescrn template