Unless stated otherwise, these command line operation examples all export policies to a file called sales.xml.
- To export the policy for user unipraxis\lyndasteel from the machine CL-TAYLOR to a file called lyndasteel.xml, run:
wgnpol export unipraxis\lyndasteel -s CL-TAYLOR -f lyndasteel.xml
- To export the policy for user unipraxis\lyndasteel, logging on to the CMS as CA DataMinder user unipraxis\spencerrimmel (whose password is 19apm77), to a file called lyndasteel.xml, run:
wgnpol export unipraxis\lyndasteel
-u "unipraxis\spencerrimmel"
-p 19apm77 -f lyndasteel.xml
- If the top level user group has not been renamed, run this command to export the policy for the North American Sales group:
wgnpol export "usermaster/north america/sales" -f sales.xml
- If the top level user group has been renamed (to 'All Unipraxis Users'), run this command to export the policy for the North American Sales group:
wgnpol export "all unipraxis users
/north america/sales" -f sales.xml
- If you log on to the CMS using an account that has
/North America as its management group, run this command to export the policy for the North American Sales group:
wgnpol export "north america/sales" -f sales.xml
Or even just:
wgnpol export "sales" -f sales.xml
- To export the policy for the gateway GW-CHICO to a file called new_gateway.xml, run:
wgnpol export GW-CHICO -f new_gateway.xml
- To export all policies for user group 'All Unipraxis Users' and each of its subgroups to new files based on the name hierarchy.xml, run:
wgnpol export "All Unipraxis Users" -f hierarchy.xml -m
- To export only the policies for user group 'All Unipraxis Users' and its subgroups, that have been edited, run:
wgnpol export "All Unipraxis Users" -f hierarchy.xml -m -b