Invoke-RASClientPolicy
Last updated
Last updated
Invoke-RASClientPolicy
Invokes an action on a client policy.
Invoke-RASClientPolicy []** (uint) - (SwitchParameter) [()]
Invoke-RASClientPolicy [-] () - (SwitchParameter) [()]
Invoke-RASClientPolicy [] (SwitchParameter) [] (uint) [[-] (string)] [()]
Invoke-RASClientPolicy [] (SwitchParameter) [] (string) [[-] (string)] [()]
Invoke-RASClientPolicy [] (SwitchParameter) [[-] {AddNew | Overwrite | AddWithNewName}] [()]
Invoke-RASClientPolicy [] (SwitchParameter) [] (string) [[-] {AddNew | Overwrite | AddWithNewName}] [()]
Invokes an action on a client policy.
The ID of the client policy to invoke the action on. To obtain the ID, use the Get-RASClientPolicy cmdlet.
File name and path.
Use the '.xml' filename extension to be consistent with the Parallels RAS console.
Specifies the action to duplicate the Client Policy.
The client policy object to invoke the action on.
Specifies the action to import the Client Policy(ies).
Possible values: AddNew, Overwrite, AddWithNewName
Specifies the action to import the Client Policy(ies).
Name of the client policy to be exported.
(CommonParameters)
**---------- EXAMPLE 1 ----------
Invoke-RASClientPolicy -Id 1 -Duplicate
Adds a new client policy by duplicating the client policy with ID 1. **---------- EXAMPLE 2 ----------
Invoke-RASClientPolicy -Import "C:\Backup\PDF-clientpolicy.xml"
Imports a client policy from the specified file. **---------- EXAMPLE 3 ----------
Invoke-RASClientPolicy -Export -Name PDFPolicy -FilePath "C:\Backup\PDF-clientpolicy.xml"
Exports the client policy named PDFPolicy to the specified file.
() Overwrite the client policy if there is already another client policy with the same name.