OCI Modules for PowerShell Cloud Shell Quick Start

This topic discusses how to quickly get started with the Oracle Cloud Infrastructure modules for PowerShell using Cloud Shell.

  1. Sign in to the Console.
  2. Click the Cloud Shell icon in the Console header. Note that Cloud Shell runs commands against the region selected in the Console's Region selection menu when Cloud Shell was started.
  3. From the Cloud Shell session's command prompt, start the PowerShell environment:
    user@cloudshell:oci (us-phoenix-1)$ pwsh
  4. Run the following command to get the current object storage namespace:
    Get-OCIObjectstorageNamespace