【发布时间】:2019-09-19 07:36:14
【问题描述】:
需要 oracle 云命令来执行一些操作。 为此需要 oracle powershell 模块。
【问题讨论】:
标签: oracle powershell powershell-module oracle-cloud-infrastructure
需要 oracle 云命令来执行一些操作。 为此需要 oracle powershell 模块。
【问题讨论】:
标签: oracle powershell powershell-module oracle-cloud-infrastructure
Oracle Cloud 昨天推出了适用于 PowerShell 的 OCI 模块。此链接应该可以帮助您入门 - https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/powershellgettingstarted.htm
这将允许从 PowerShell 本地调用 OCI Cmdlet 以访问和管理 Oracle 云资源。
【讨论】:
您可以在此处查看在 PowerShell 中安装 OCI CLI 的详细步骤: https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/cliinstall.htm
【讨论】:
@isarecz 您的链接显示了如何安装 oci-cli with powershell,不幸的是不是 in powershell。
我认为问题更多是关于“是否有用于 OCI 的 powershell cmdlet?”,因此您可以使用 powershell 命令查询 OCI API。答案是:目前没有。
官方 SDK 和 cli 在此处列出:https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdks.htm
然而,powershell cmdlet 将是一个很好的补充!
【讨论】: