You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

SQL Safe provides you with CLI commands to help you manually copy policies.


To copy policies use the following commands:
  • SQLsafeCmd Copy-Policy <policy_name> [options]
  • SQLsafeCmd Copy-Policy <policy_GUID> [options]


Where:
ActionDescription
<policy_name>

Name of the policy.

<policy_GUID>

 GUID of the policy.

You can also use the following options to copy policies:

OptionsDescription
SQLsafeCmd <action> [options]

Perform an action.

SQLsafeCmd help <action>

Display detailed help for an action.

SQLsafeCmd -ArgsFile <filename>Perform the action defined within an argument file.

Where:

ActionDescription
<action>

A keyword that tells SQLsafe what to do.

<filename>

Specifies the file that contains command line arguments.


For detailed descriptions and available options, see the CLI Help (SQLsafeCmd help Copy-Policy).


  • No labels