Examples

This topic contains a list of OCI PowerShell Cmdlet usage examples.

Examples of OCI PowerShell Cmdlet usage can be found on GitHub, including:

If you'd like to see another example not already covered, file a GitHub issue.

Running Examples

  1. Clone the OCI PowerShell Modules project from GitHub.
    PS /> git clone https://github.com/oracle/oci-powershell-modules.git
  2. Navigate to the examples folder inside the cloned repository.
    PS /> cd ./oci-powershell-modules/Examples
  3. Install the required modules. Find additional details about setting up and running examples from the README page.
  4. Run the example scripts after setting the required environment variables.

    
    PS /oci-powershell-modules/Examples> ./Waiter_Core.ps1