en-US/PsFindFiles-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-GraphicsFile</command:name>
      <command:verb>Find</command:verb>
      <command:noun>GraphicsFile</command:noun>
      <maml:description>
        <maml:para>Searches for graphics and visualization assets (2D, 3D, point cloud) in a specified directory.</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para>Finds common 2D design files, 3D models, and point cloud formats with optional recursion and CSV/JSON export.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Find-GraphicsFile</maml:name>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="None">
          <maml:name>Path</maml:name>
          <maml:description>
            <maml:para>Directory to search. Accepts pipeline input. Defaults to the current directory.</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>(Get-Location).Path</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
          <maml:name>ExportCSV</maml:name>
          <maml:description>
            <maml:para>Path to write a CSV export of the results.</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="named" aliases="None">
          <maml:name>ExportJSON</maml:name>
          <maml:description>
            <maml:para>Path to write a JSON export of the results.</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="named" aliases="None">
          <maml:name>GraphicsType</maml:name>
          <maml:description>
            <maml:para>Graphics category to search. Valid values: `2D`, `3D`, `PointCloud`, `All`.</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>All</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
          <maml:name>Recurse</maml:name>
          <maml:description>
            <maml:para>Search subdirectories. Defaults to on.</maml:para>
          </maml:description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>True</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
          <maml:name>ShowBanner</maml:name>
          <maml:description>
            <maml:para>Show the informational banner/header output.</maml:para>
          </maml:description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
          <maml:name>ShowDetails</maml:name>
          <maml:description>
            <maml:para>Emit per-file detail lines in the informational output.</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="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
        <maml:name>ExportCSV</maml:name>
        <maml:description>
          <maml:para>Path to write a CSV export of the results.</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="named" aliases="None">
        <maml:name>ExportJSON</maml:name>
        <maml:description>
          <maml:para>Path to write a JSON export of the results.</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="named" aliases="None">
        <maml:name>GraphicsType</maml:name>
        <maml:description>
          <maml:para>Graphics category to search. Valid values: `2D`, `3D`, `PointCloud`, `All`.</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>All</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="None">
        <maml:name>Path</maml:name>
        <maml:description>
          <maml:para>Directory to search. Accepts pipeline input. Defaults to the current directory.</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>(Get-Location).Path</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
        <maml:name>Recurse</maml:name>
        <maml:description>
          <maml:para>Search subdirectories. Defaults to on.</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>True</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
        <maml:name>ShowBanner</maml:name>
        <maml:description>
          <maml:para>Show the informational banner/header output.</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:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
        <maml:name>ShowDetails</maml:name>
        <maml:description>
          <maml:para>Emit per-file detail lines in the informational output.</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:inputType>
        <dev:type>
          <maml:name>System.String</maml:name>
        </dev:type>
        <maml:description>
          <maml:para>You can pipe a path to `Find-GraphicsFile`.</maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <maml:name>PSCustomObject</maml:name>
        </dev:type>
        <maml:description>
          <maml:para>One object per graphics file with name, path, directory, extension, size, type, and timestamps.</maml:para>
        </maml:description>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:alert>
        <maml:para>Aliases: `Find-GraphicsFiles` (legacy plural name).</maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>--------------- Example 1: Search for 2D designs ---------------</maml:title>
        <dev:code>Find-GraphicsFile -Path "C:\Design" -GraphicsType 2D</dev:code>
        <dev:remarks>
          <maml:para>Finds 2D design files under the specified path.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------- Example 2: Search 3D assets without recursion --------</maml:title>
        <dev:code>Find-GraphicsFile -Path "D:\Assets" -GraphicsType 3D -Recurse:$false</dev:code>
        <dev:remarks>
          <maml:para>Finds 3D assets in the top-level folder only.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>------------ Example 3: Export point clouds to CSV ------------</maml:title>
        <dev:code>Find-GraphicsFile -Path "E:\Scans" -GraphicsType PointCloud -ExportCSV scans.csv -ShowDetails</dev:code>
        <dev:remarks>
          <maml:para>Finds point cloud files and exports a detailed CSV.</maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <command:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>Find-MediaFile</maml:linkText>
        <maml:uri></maml:uri>
      </maml:navigationLink>
      <maml:navigationLink>
        <maml:linkText>Find-MsOfficeFile</maml:linkText>
        <maml:uri></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>Find-MediaFile</command:name>
      <command:verb>Find</command:verb>
      <command:noun>MediaFile</command:noun>
      <maml:description>
        <maml:para>Searches for media files (audio, video, pictures, and vaults) in a specified directory.</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para>Finds media files in the target path with optional recursion, filtering by media type, and CSV/JSON export. The command returns file metadata and can emit an informational summary or detailed file list.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Find-MediaFile</maml:name>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="None">
          <maml:name>Path</maml:name>
          <maml:description>
            <maml:para>Directory to search. Accepts pipeline input. Defaults to the current directory.</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>(Get-Location).Path</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
          <maml:name>ExportCSV</maml:name>
          <maml:description>
            <maml:para>Path to write a CSV export of the results.</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="named" aliases="None">
          <maml:name>ExportJSON</maml:name>
          <maml:description>
            <maml:para>Path to write a JSON export of the results.</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="named" aliases="None">
          <maml:name>MediaType</maml:name>
          <maml:description>
            <maml:para>Media type filter. Valid values: `Audio`, `Video`, `Picture`, `Vaults`, `All`.</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>All</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
          <maml:name>Recurse</maml:name>
          <maml:description>
            <maml:para>Search subdirectories. Defaults to on.</maml:para>
          </maml:description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>True</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
          <maml:name>ShowBanner</maml:name>
          <maml:description>
            <maml:para>Show the informational banner/header output.</maml:para>
          </maml:description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
          <maml:name>ShowDetails</maml:name>
          <maml:description>
            <maml:para>Emit per-file detail lines in the informational output.</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="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
        <maml:name>ExportCSV</maml:name>
        <maml:description>
          <maml:para>Path to write a CSV export of the results.</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="named" aliases="None">
        <maml:name>ExportJSON</maml:name>
        <maml:description>
          <maml:para>Path to write a JSON export of the results.</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="named" aliases="None">
        <maml:name>MediaType</maml:name>
        <maml:description>
          <maml:para>Media type filter. Valid values: `Audio`, `Video`, `Picture`, `Vaults`, `All`.</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>All</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="None">
        <maml:name>Path</maml:name>
        <maml:description>
          <maml:para>Directory to search. Accepts pipeline input. Defaults to the current directory.</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>(Get-Location).Path</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
        <maml:name>Recurse</maml:name>
        <maml:description>
          <maml:para>Search subdirectories. Defaults to on.</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>True</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
        <maml:name>ShowBanner</maml:name>
        <maml:description>
          <maml:para>Show the informational banner/header output.</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:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
        <maml:name>ShowDetails</maml:name>
        <maml:description>
          <maml:para>Emit per-file detail lines in the informational output.</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:inputType>
        <dev:type>
          <maml:name>System.String</maml:name>
        </dev:type>
        <maml:description>
          <maml:para>You can pipe a path to `Find-MediaFile`.</maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <maml:name>PSCustomObject</maml:name>
        </dev:type>
        <maml:description>
          <maml:para>One object per file with name, path, directory, extension, type, size, and timestamps.</maml:para>
        </maml:description>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:alert>
        <maml:para>Aliases: `Find-MediaFiles` (legacy plural name).</maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>------------- Example 1: Search current directory -------------</maml:title>
        <dev:code>Find-MediaFile</dev:code>
        <dev:remarks>
          <maml:para>Searches for all supported media files in the current directory and subdirectories.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------------- Example 2: Audio only --------------------</maml:title>
        <dev:code>Find-MediaFile -Path "C:\Users\Documents" -MediaType Audio</dev:code>
        <dev:remarks>
          <maml:para>Searches for audio files in the specified directory and subdirectories.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>----------------- Example 3: Disable recursion -----------------</maml:title>
        <dev:code>Find-MediaFile -Path "D:\Media" -Recurse:$false</dev:code>
        <dev:remarks>
          <maml:para>Searches only the specified directory (no subdirectories).</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>------------------ Example 4: Export results ------------------</maml:title>
        <dev:code>Find-MediaFile -Path "C:\Media" -ExportCSV "media_results.csv" -ShowDetails</dev:code>
        <dev:remarks>
          <maml:para>Exports detailed results to CSV.</maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <command:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>Find-MsOfficeFile</maml:linkText>
        <maml:uri></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>Find-MsOfficeFile</command:name>
      <command:verb>Find</command:verb>
      <command:noun>MsOfficeFile</command:noun>
      <maml:description>
        <maml:para>Finds Microsoft Office files in a specified path.</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para>Searches for Microsoft Office files (Word, Excel, PowerPoint, Access, etc.) in a target directory, optionally recursing into subdirectories. Supports modern formats by default and can include legacy formats when requested.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Find-MsOfficeFile</maml:name>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="None">
          <maml:name>Path</maml:name>
          <maml:description>
            <maml:para>Directory to search. Accepts pipeline input. Defaults to the current directory.</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>(Get-Location).Path</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
          <maml:name>IncludeLegacy</maml:name>
          <maml:description>
            <maml:para>Include legacy Office formats (.doc, .xls, .ppt, .mdb) in addition to modern formats.</maml:para>
          </maml:description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
          <maml:name>Recurse</maml:name>
          <maml:description>
            <maml:para>Search subdirectories recursively.</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="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
        <maml:name>IncludeLegacy</maml:name>
        <maml:description>
          <maml:para>Include legacy Office formats (.doc, .xls, .ppt, .mdb) in addition to modern formats.</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:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="None">
        <maml:name>Path</maml:name>
        <maml:description>
          <maml:para>Directory to search. Accepts pipeline input. Defaults to the current directory.</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>(Get-Location).Path</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="None">
        <maml:name>Recurse</maml:name>
        <maml:description>
          <maml:para>Search subdirectories recursively.</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:inputType>
        <dev:type>
          <maml:name>System.String</maml:name>
        </dev:type>
        <maml:description>
          <maml:para>You can pipe a path to `Find-MsOfficeFile`.</maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <maml:name>System.IO.FileInfo</maml:name>
        </dev:type>
        <maml:description>
          <maml:para>One object per matching Office file.</maml:para>
        </maml:description>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:alert>
        <maml:para>Aliases: `Find-MsOfficeFiles` (legacy plural name).</maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>-------- Example 1: Modern formats in current directory --------</maml:title>
        <dev:code>Find-MsOfficeFile</dev:code>
        <dev:remarks>
          <maml:para>Finds all modern Office files in the current directory.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>------------ Example 2: Recurse into subdirectories ------------</maml:title>
        <dev:code>Find-MsOfficeFile -Path "C:\Documents" -Recurse</dev:code>
        <dev:remarks>
          <maml:para>Finds modern Office files in the specified path and its subdirectories.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------- Example 3: Include legacy formats --------------</maml:title>
        <dev:code>Find-MsOfficeFile -Path "C:\Documents" -Recurse -IncludeLegacy</dev:code>
        <dev:remarks>
          <maml:para>Finds both modern and legacy Office formats.</maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <command:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>Find-MediaFile</maml:linkText>
        <maml:uri></maml:uri>
      </maml:navigationLink>
    </command:relatedLinks>
  </command:command>
</helpItems>