Invoke-RASImportClientPolicy

NAME

Invoke-RASImportClientPolicy

SYNOPSIS

Imports a client policy from a file.

SYNTAX

Invoke-RASImportClientPolicy [-FilePath] <string> [[-InputMethod] <ClientPolicyInputMethod> {AddNew | Overwrite | AddWithNewName}] [<CommonParameters>]

DESCRIPTION

Imports a client policy from a XML file.

A file containing a client policy can be created using the ExportClientPolicy cmdlet or from the RAS console.

PARAMETERS


-FilePath <string>
File name and path containing a client policy.

The standard filename extension for these files is '.xml'.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputMethod <ClientPolicyInputMethod>
Overwrite the client policy if there is already another client policy with the same name.

Possible values: AddNew, Overwrite, AddWithNewName

        Required?                    false
        Position?                    1
        Default value                AddNew
        Accept pipeline input?       false
        Accept wildcard characters?  false

<CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters documentation. 

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES


---------- EXAMPLE 1 ----------

Invoke-RASImportClientPolicy "C:\Backup\PDF-clientpolicy.xml"

Imports a client policy from the specified file.

RELATED LINKS