Copy and modify a user-defined event rule

You can copy, modify, and rename an existing user-defined rule by using the nzevent copy command.

The following example copies, renames, and modifies an existing event rule:
nzevent copy -u admin -pw password -name NPSNoLongerOnline -newName 
MyModNPSNoLongerOnline -on yes -dst -ccDst -callhome yes

When you copy an existing user-defined event rule, your new rule is enabled automatically if the existing rule is enabled. If the existing rule is disabled, your new rule is disabled by default. You must enable it by using the -on yes argument. You must specify a unique name for your new rule; it cannot match the name of the existing user-defined rule.