Piped Commands in the IdentityIQ Console
The iiq console commands can use piping as a useful way to filter or redirect output.
You can use standard Unix or Windows commands to process the output of your iiq console commands. You must use the commands (Unix or Windows) that are appropriate to your own operating system. Unix commands will not work in a Windows environment, and vice versa.
Sample Unix Piped Commands
Command | Description |
---|---|
List only manual workitems | list workitem | grep manual |
Get a count of all your policies | list policy | wc -l |
List policies, excluding any SOD (separation of duties) policies, sort them in reverse order, and write the output to a text file | list policy | grep -v SOD | sort -r | > MyNonSODPoliciesInReverseOrder.txt |
Sample Windows Piped Commands
Command | Description |
---|---|
List only manual workitems | list workitem | findstr manual |
List policies and direct the list output to the clipboard | list policy | clip |
List all the "Example" rules in your system, and write the output to a text file | list rule | findstr Example | > AllExampleRules.txt |