en-US/pwshCloudCommands-help.xml

<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh">
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
    <command:details>
      <command:name>Find-CloudCommand</command:name>
      <command:verb>Find</command:verb>
      <command:noun>CloudCommand</command:noun>
      <maml:description>
        <maml:para>Finds PowerShell cloud command(s) that match the provided query.</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para>Performs query search on a dynamically updated cache of known PowerShell cloud commands. Results are returned based on provided criteria. Based on the query provided, a different form of search is performed. If a function name is provided (Verb-Noun), a function name query is performed. If a wildcard is provided (Ve*-Noun), a wildcard query is performed. Anything else is treated as a free-form query. Order of query efficiency is: 1. Function name query 2. Wildcard query 3. Free-form query Query performance will also be greatly increased if you filter to the specific cloud platform you are using (AWS/Azure/Oracle). Free-form queries can generate many results and by default only the top 30 results are returned. Use the -AllResults parameter with free-form queries to return all results.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Find-CloudCommand</maml:name>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none">
          <maml:name>Query</maml:name>
          <maml:Description>
            <maml:para>PowerShell cloud command search input</maml:para>
          </maml:Description>
          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
          <dev:type>
            <maml:name>String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none">
          <maml:name>Filter</maml:name>
          <maml:Description>
            <maml:para>Filter results to specific cloud platform (AWS/Azure/Oracle)</maml:para>
          </maml:Description>
          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
          <dev:type>
            <maml:name>String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none">
          <maml:name>AllResults</maml:name>
          <maml:Description>
            <maml:para>Return all results, regardless of the number of results returned</maml:para>
          </maml:Description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none">
        <maml:name>Query</maml:name>
        <maml:Description>
          <maml:para>PowerShell cloud command search input</maml:para>
        </maml:Description>
        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
        <dev:type>
          <maml:name>String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>None</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="none">
        <maml:name>Filter</maml:name>
        <maml:Description>
          <maml:para>Filter results to specific cloud platform (AWS/Azure/Oracle)</maml:para>
        </maml:Description>
        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
        <dev:type>
          <maml:name>String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>None</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="3" aliases="none">
        <maml:name>AllResults</maml:name>
        <maml:Description>
          <maml:para>Return all results, regardless of the number of results returned</maml:para>
        </maml:Description>
        <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes />
    <command:returnValues />
    <maml:alertSet>
      <maml:alert>
        <maml:para>Author: Jake Morrison - @jakemorrison - https://www.techthoughts.info/</maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
        <dev:code>Find-CloudCommand -Query Write-S3Object -Filter AWS</dev:code>
        <dev:remarks>
          <maml:para>Search for a specific function name (Verb-Noun) and filter to AWS.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
        <dev:code>Find-CloudCommand -Query New-OCIComputeInstance -Filter Oracle</dev:code>
        <dev:remarks>
          <maml:para>Search for a specific function name (Verb-Noun) and filter to Oracle.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------------------- EXAMPLE 3 --------------------------</maml:title>
        <dev:code>Find-CloudCommand -Query New-MLDataSourceFromRedshift</dev:code>
        <dev:remarks>
          <maml:para>Search for a specific function name (Verb-Noun) against all cloud platforms.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------------------- EXAMPLE 4 --------------------------</maml:title>
        <dev:code>Find-CloudCommand -Query New*VM* -Filter Azure</dev:code>
        <dev:remarks>
          <maml:para>Wildcard function search that is filtered to Azure.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------------------- EXAMPLE 5 --------------------------</maml:title>
        <dev:code>Find-CloudCommand -Query Get*WAF*</dev:code>
        <dev:remarks>
          <maml:para>Wildcard function search against all cloud platforms.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------------------- EXAMPLE 6 --------------------------</maml:title>
        <dev:code>Find-CloudCommand -Query 'I want to create a new compute instance' -Filter Oracle</dev:code>
        <dev:remarks>
          <maml:para>Free-form query that is filtered to Oracle.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------------------- EXAMPLE 7 --------------------------</maml:title>
        <dev:code>Find-CloudCommand -Query 'download an object from a S3 bucket' -Filter AWS -AllResults</dev:code>
        <dev:remarks>
          <maml:para>Free-form query that is filtered to AWS and returns all results.</maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <command:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>https://docs.aws.amazon.com/powershell/latest/reference/</maml:linkText>
        <maml:uri>https://docs.aws.amazon.com/powershell/latest/reference/</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>https://github.com/Azure/azure-powershell/blob/main/documentation/azure-powershell-modules.md</maml:linkText>
        <maml:uri>https://github.com/Azure/azure-powershell/blob/main/documentation/azure-powershell-modules.md</maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/powershell.htm</maml:linkText>
        <maml:uri>https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/powershell.htm</maml:uri>
      </maml:navigationLink>
    </command:relatedLinks>
  </command:command>
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
    <command:details>
      <command:name>Get-AllCloudCommandInfo</command:name>
      <command:verb>Get</command:verb>
      <command:noun>AllCloudCommandInfo</command:noun>
      <maml:description>
        <maml:para>Returns module and function information for all known PowerShell cloud commands.</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para>Returns results from the entire PowerShell cloud command catalog. It is recommended to use the Filter parameter to reduce the size of the result set.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Get-AllCloudCommandInfo</maml:name>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none">
          <maml:name>Filter</maml:name>
          <maml:Description>
            <maml:para>Filter results to specific cloud platform (AWS/Azure/Oracle)</maml:para>
          </maml:Description>
          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
          <dev:type>
            <maml:name>String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none">
        <maml:name>Filter</maml:name>
        <maml:Description>
          <maml:para>Filter results to specific cloud platform (AWS/Azure/Oracle)</maml:para>
        </maml:Description>
        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
        <dev:type>
          <maml:name>String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>None</dev:defaultValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes />
    <command:returnValues />
    <maml:alertSet>
      <maml:alert>
        <maml:para>Author: Jake Morrison - @jakemorrison - https://www.techthoughts.info/</maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
        <dev:code>Get-AllCloudCommandInfo -Filter AWS</dev:code>
        <dev:remarks>
          <maml:para>Returns module and function information of all known AWS PowerShell cloud commands.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
        <dev:code>Get-AllCloudCommandInfo</dev:code>
        <dev:remarks>
          <maml:para>Returns module and function information of all known PowerShell cloud commands.</maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <command:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>Online Version:</maml:linkText>
        <maml:uri>https://docs.aws.amazon.com/powershell/latest/reference/</maml:uri>
      </maml:navigationLink>
    </command:relatedLinks>
  </command:command>
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
    <command:details>
      <command:name>Get-CloudCommandFromFile</command:name>
      <command:verb>Get</command:verb>
      <command:noun>CloudCommandFromFile</command:noun>
      <maml:description>
        <maml:para>Evaluates PowerShell files in specified path and identifies a list of PowerShell cloud functions and their associated modules.</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para>Discovers all PowerShell files in the specified path. Parses each file and identifies all PowerShell cloud functions and their associated modules.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Get-CloudCommandFromFile</maml:name>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none">
          <maml:name>Path</maml:name>
          <maml:Description>
            <maml:para>File or Folder Path to evaluate.</maml:para>
          </maml:Description>
          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
          <dev:type>
            <maml:name>String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none">
        <maml:name>Path</maml:name>
        <maml:Description>
          <maml:para>File or Folder Path to evaluate.</maml:para>
        </maml:Description>
        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
        <dev:type>
          <maml:name>String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>None</dev:defaultValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes />
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <maml:name>System.Management.Automation.PSCustomObject</maml:name>
        </dev:type>
        <maml:description>
          <maml:para></maml:para>
        </maml:description>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:alert>
        <maml:para>Author: Jake Morrison - @jakemorrison - https://www.techthoughts.info/</maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title>
        <dev:code>$psCloud = Get-CloudCommandFromFile -Path "$env:HOME\pathToEvaluate"
$psCloud</dev:code>
        <dev:remarks>
          <maml:para>Returns a list of PowerShell cloud functions and their associated modules found in files in the specified path.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title>
        <dev:code>$psCloud = Get-CloudCommandFromFile -Path "$env:HOME\pathToEvaluate"
$psCloud.CloudCommands.ModuleName | Select-Object -Unique</dev:code>
        <dev:remarks>
          <maml:para>Returns a list of unique module names found in use in files in the specified path.</maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <command:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>Online Version:</maml:linkText>
        <maml:uri>https://docs.aws.amazon.com/powershell/latest/reference/</maml:uri>
      </maml:navigationLink>
    </command:relatedLinks>
  </command:command>
</helpItems>