Invoke-RASExportClientPolicy

NAME

Invoke-RASExportClientPolicy

SYNOPSIS

Exports a client policy to a file.

SYNTAX

Invoke-RASExportClientPolicy [-Name] <string> [[-FilePath] <string>] [<CommonParameters>]

Invoke-RASExportClientPolicy [-Id] <uint> [[-FilePath] <string>] [<CommonParameters>]

DESCRIPTION

Exports a client policy to a XML file.

You can use this functionality to back up your client policies, so you can easily restore them if needed.

To restore a backed up configuration, use the ImportClientPolicy cmdlet.

PARAMETERS


-Name <string>
Name of the client policy to be exported.

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

-Id <uint>
The ID of the client policy for which to retrieve the information.

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

-FilePath <string>
Target file name and path. Use the '.xml' filename extension to be consistent with the Parallels RAS console.

        Required?                    false
        Position?                    1
        Default value                
        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

RASFiles

EXAMPLES


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

Invoke-RASExportClientPolicy -Name PDFPolicy -FilePath "C:\Backup\PDF-clientpolicy.xml"

Exports the client policy named PDFPolicy to the specified file.

RELATED LINKS