fr/HWInformation.psm1-Help.xml

<?xml version='1.0' encoding='utf-8'?>
<helpItems xmlns="http://msh" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:maml="http://schemas.microsoft.com/maml/2004/10" schema="maml">
  <command:command>
    <command:details>
      <command:name>Get-HWInfo</command:name>
      <maml:description>
        <maml:para>Recense le processeur, la mémoire et les cartes graphiques du PC.</maml:para>
      </maml:description>
      <command:verb>Get</command:verb>
      <command:noun>HWInfo</command:noun>
    </command:details>
    <maml:description>
      <maml:para>Renvoie un objet HWInfo fraîchement collecté. Conservez l’objet pour en lire plusieurs propriétés sans recommencer la collecte.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Get-HWInfo</maml:name>
        <command:parameter required="false" position="named" pipelineInput="false" globbing="false" variableLength="false" aliases="none">
          <maml:name>WhatIf</maml:name>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
          </dev:type>
        </command:parameter>
        <command:parameter required="false" position="named" pipelineInput="false" globbing="false" variableLength="false" aliases="none">
          <maml:name>Confirm</maml:name>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
          </dev:type>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="false" position="named" pipelineInput="false" globbing="false" variableLength="false" aliases="none">
        <maml:name>WhatIf</maml:name>
        <maml:description>
          <maml:para>Indique l’opération que la commande effectuerait.</maml:para>
        </maml:description>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
        </dev:type>
      </command:parameter>
      <command:parameter required="false" position="named" pipelineInput="false" globbing="false" variableLength="false" aliases="none">
        <maml:name>Confirm</maml:name>
        <maml:description>
          <maml:para>Demande confirmation avant d’effectuer l’opération.</maml:para>
        </maml:description>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
        </dev:type>
      </command:parameter>
    </command:parameters>
    <command:inputTypes>
      <command:inputType>
        <dev:type>
          <maml:name>Aucune</maml:name>
        </dev:type>
        <maml:description>
          <maml:para>Cette commande n’accepte aucune entrée par pipeline.</maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <maml:name>HWInfo</maml:name>
        </dev:type>
      </command:returnValue>
    </command:returnValues>
    <command:examples>
      <command:example>
        <maml:title>-------------------------- EXEMPLE 1 --------------------------</maml:title>
        <maml:introduction>
          <maml:para>PS&gt; </maml:para>
        </maml:introduction>
        <dev:code>Get-HWInfo | Select-Object CPU, CPUCores, CPUThreads, 'Memory (Gb)'</dev:code>
        <dev:remarks>
          <maml:para>Affiche le processeur, ses cœurs et fils logiques, ainsi que la mémoire.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------------------- EXEMPLE 2 --------------------------</maml:title>
        <maml:introduction>
          <maml:para>PS&gt; </maml:para>
        </maml:introduction>
        <dev:code>$machine = Get-HWInfo
$machine.RAMBytes
$machine.GPUs | Select-Object Name, DriverVersion, MemoryBytes</dev:code>
        <dev:remarks>
          <maml:para>Lit la mémoire vive exacte et affiche le pilote et la mémoire dédiée des cartes à partir du même instantané.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------------------- EXEMPLE 3 --------------------------</maml:title>
        <maml:introduction>
          <maml:para>PS&gt; </maml:para>
        </maml:introduction>
        <dev:code>$machine = Get-HWInfo
$machine | Select-Object CPU, CPUCores, CPUThreads, 'Memory (Gb)', RamSticks |
    Export-Csv -LiteralPath '.\hardware.csv' -NoTypeInformation -Encoding UTF8</dev:code>
        <dev:remarks>
          <maml:para>Enregistre un inventaire succinct du processeur et de la mémoire vive dans un fichier CSV.</maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <maml:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>about_HWInformation</maml:linkText>
      </maml:navigationLink>
    </maml:relatedLinks>
  </command:command>
  <command:command>
    <command:details>
      <command:name>New-HWInfo</command:name>
      <maml:description>
        <maml:para>Crée un instantané de l’inventaire matériel du PC Windows.</maml:para>
      </maml:description>
      <command:verb>New</command:verb>
      <command:noun>HWInfo</command:noun>
    </command:details>
    <maml:description>
      <maml:para>Renvoie un nouvel objet HWInfo avec les données de processeur, de mémoire et de cartes graphiques recueillies par CIM.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>New-HWInfo</maml:name>
        <command:parameter required="false" position="named" pipelineInput="false" globbing="false" variableLength="false" aliases="none">
          <maml:name>WhatIf</maml:name>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
          </dev:type>
        </command:parameter>
        <command:parameter required="false" position="named" pipelineInput="false" globbing="false" variableLength="false" aliases="none">
          <maml:name>Confirm</maml:name>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
          </dev:type>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="false" position="named" pipelineInput="false" globbing="false" variableLength="false" aliases="none">
        <maml:name>WhatIf</maml:name>
        <maml:description>
          <maml:para>Indique l’opération que la commande effectuerait.</maml:para>
        </maml:description>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
        </dev:type>
      </command:parameter>
      <command:parameter required="false" position="named" pipelineInput="false" globbing="false" variableLength="false" aliases="none">
        <maml:name>Confirm</maml:name>
        <maml:description>
          <maml:para>Demande confirmation avant d’effectuer l’opération.</maml:para>
        </maml:description>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
        </dev:type>
      </command:parameter>
    </command:parameters>
    <command:inputTypes>
      <command:inputType>
        <dev:type>
          <maml:name>Aucune</maml:name>
        </dev:type>
        <maml:description>
          <maml:para>Cette commande n’accepte aucune entrée par pipeline.</maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <maml:name>HWInfo</maml:name>
        </dev:type>
      </command:returnValue>
    </command:returnValues>
    <command:examples>
      <command:example>
        <maml:title>-------------------------- EXEMPLE 1 --------------------------</maml:title>
        <maml:introduction>
          <maml:para>PS&gt; </maml:para>
        </maml:introduction>
        <dev:code>$machine = New-HWInfo
$machine.GPUs | Select-Object Name, Vendor</dev:code>
        <dev:remarks>
          <maml:para>Réutilise l’instantané pour afficher les cartes graphiques.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------------------- EXEMPLE 2 --------------------------</maml:title>
        <maml:introduction>
          <maml:para>PS&gt; </maml:para>
        </maml:introduction>
        <dev:code>$machine = New-HWInfo
$machine | Select-Object CPU, CPUCores, CPUThreads, 'Memory (Gb)', RamSticks</dev:code>
        <dev:remarks>
          <maml:para>Affiche les données du processeur et de la mémoire physique à partir d’une seule collecte.</maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------------------- EXEMPLE 3 --------------------------</maml:title>
        <maml:introduction>
          <maml:para>PS&gt; </maml:para>
        </maml:introduction>
        <dev:code>New-HWInfo -WhatIf</dev:code>
        <dev:remarks>
          <maml:para>Prévisualise l’opération sans créer l’instantané.</maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <maml:relatedLinks>
      <maml:navigationLink>
        <maml:linkText>about_HWInformation</maml:linkText>
      </maml:navigationLink>
    </maml:relatedLinks>
  </command:command>
</helpItems>