About Toolkit PowerShell

Toolkit PowerShell in Oracle Content Management (OCM) allows power users to run CLI-like commands for listing or querying information about OCM objects in the web interface. The commands available in the web interface are a subset of the CLI utilities that are available in the OCM Content Toolkit.

Access to this feature requires users to have the OCM Developer role (so regular contributors will not be able to access the Toolkit PowerShell user interface).

To access the Toolkit PowerShell:
  1. Click Developer.
  2. Click Open Toolkit PowerShell.

On the Toolkit PowerShell page, you have a link in the upper right corner of the page to the Oracle Content Toolkit GitHub page, where you can download and install the toolkit CLI.

A drop-down menu lists the available commands. You can select a command from the drop-down menu, optionally specify additional arguments, and then click Run to execute the command. After you run a command, the output is displayed on the page. When you run more than one command, the output for each of the commands is displayed in new tabs.

For example, selecting the list command and running it will display all the resources in the system. Running the describe-asset command with the --help argument will display the help information describing this command.
  • You can add and close tabs.
  • You can click the links available in the output text to open up new tabs that describe the highlighted resource.
  • The help option displays the help documentation for the selected command in a new browser tab.

This image shows the Toolkit PowerShell page.