en-us/FineFormat-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>Format-Fine</command:name>
      <command:verb>Format</command:verb>
      <command:noun>Fine</command:noun>
      <maml:description>
        <maml:para>Formats and filters the output.</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para>Cmdlet formats and filters the output using various requirements.</maml:para>
      <maml:para>If used without parameters, it does not change accepted objects in any way.</maml:para>
      <maml:para>Can also be referred to by its alias: ff.</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Format-Fine</maml:name>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none">
          <maml:name>InputObject</maml:name>
          <maml:description>
            <maml:para>Specifies the input object.</maml:para>
            <maml:para>This parameter supports accepting values from the pipeline.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="false">Object</command:parameterValue>
          <dev:type>
            <maml:name>Object</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="HaveValue, NotNullOrEmpty">
          <maml:name>HasValue</maml:name>
          <maml:description>
            <maml:para>Specifies that only the properties that have values other than $null or empty should be displayed.</maml:para>
            <maml:para>Aliases: HaveValue, NotNullOrEmpty</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>Value</maml:name>
          <maml:description>
            <maml:para>Specifies the values of properties to filter on.</maml:para>
            <maml:para>Supports wildcards.</maml:para>
            <maml:para>Implies -HasValue.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="false">PSObject[]</command:parameterValue>
          <dev:type>
            <maml:name>PSObject[]</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>TypeName</maml:name>
          <maml:description>
            <maml:para>Specifies the type names of properties to filter on.</maml:para>
            <maml:para>Supports wildcards.</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>CompactNumbers</maml:name>
          <maml:description>
            <maml:para>Displays numbers as Kilo, Mega, Giga, Tera, or Peta depending on the magnitude of the number.</maml:para>
            <maml:para>If the number is smaller than 1K, it is displayed without conversion.</maml:para>
            <maml:para>It differs from the -NumbersAs parameter in the way, that -NumbersAs parameter uses the specified units (Kilo, Mega, etc.), and -CompactNumbers determines the proper unit based on the number's magnitude.</maml:para>
            <maml:para>This parameter has priority over the -NumbersAs parameter.</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>NumberGroupSeparator</maml:name>
          <maml:description>
            <maml:para>Displays numbers with group separators.</maml:para>
            <maml:para>Group separator symbol depends on regional settings.</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>NumbersAs</maml:name>
          <maml:description>
            <maml:para>Displays numbers as Kilo, Mega, Giga, Tera, or Peta.</maml:para>
            <maml:para>If the number is smaller than the specified value, it is displayed without conversion.</maml:para>
            <maml:para>It differs from the -CompactNumbers parameter in the way, that -NumbersAs parameter uses the specified units (Kilo, Mega, etc.), and -CompactNumbers determines the proper unit based on the number's magnitude.</maml:para>
            <maml:para>The -CompactNumbers parameter has priority over this parameter.</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>NumericTypes</maml:name>
          <maml:description>
            <maml:para>Specifies that only the properties that have numeric values (Int, Double, etc.) should be displayed.</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>SymbolicTypes</maml:name>
          <maml:description>
            <maml:para>Specifies that only the properties that have textual values (String, Char) should be displayed.</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>ValueFilter</maml:name>
          <maml:description>
            <maml:para>Specifies scriptblock to be used for filtering by properties values.</maml:para>
            <maml:para>For example: -ValueFilter {$PSItem -like "somevalue"}</maml:para>
            <maml:para>Implies -HasValue.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="false">ScriptBlock</command:parameterValue>
          <dev:type>
            <maml:name>ScriptBlock</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>TypeNameFilter</maml:name>
          <maml:description>
            <maml:para>Specifies scriptblock to be used for filtering by properties value type names.</maml:para>
            <maml:para>For example: -TypeNameFilter {$PSItem -like "datatype"}</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="false">ScriptBlock</command:parameterValue>
          <dev:type>
            <maml:name>ScriptBlock</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
      <command:syntaxItem>
        <maml:name>Format-Fine</maml:name>
        <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none">
          <maml:name>InputObject</maml:name>
          <maml:description>
            <maml:para>Specifies the input object.</maml:para>
            <maml:para>This parameter supports accepting values from the pipeline.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="false">Object</command:parameterValue>
          <dev:type>
            <maml:name>Object</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>TypeName</maml:name>
          <maml:description>
            <maml:para>Specifies the type names of properties to filter on.</maml:para>
            <maml:para>Supports wildcards.</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="NullOrEmpty">
          <maml:name>NoValue</maml:name>
          <maml:description>
            <maml:para>Specifies that only the properties that have $null or empty values should be displayed.</maml:para>
            <maml:para>Alias: NullOrEmpty</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>NumericTypes</maml:name>
          <maml:description>
            <maml:para>Specifies that only the properties that have numeric values (Int, Double, etc.) should be displayed.</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>SymbolicTypes</maml:name>
          <maml:description>
            <maml:para>Specifies that only the properties that have textual values (String, Char) should be displayed.</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>TypeNameFilter</maml:name>
          <maml:description>
            <maml:para>Specifies scriptblock to be used for filtering by properties value type names.</maml:para>
            <maml:para>For example: -TypeNameFilter {$PSItem -like "datatype"}</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="false">ScriptBlock</command:parameterValue>
          <dev:type>
            <maml:name>ScriptBlock</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="True (ByValue)" position="0" aliases="none">
        <maml:name>InputObject</maml:name>
        <maml:description>
          <maml:para>Specifies the input object.</maml:para>
          <maml:para>This parameter supports accepting values from the pipeline.</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="false">Object</command:parameterValue>
        <dev:type>
          <maml:name>Object</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="HaveValue, NotNullOrEmpty">
        <maml:name>HasValue</maml:name>
        <maml:description>
          <maml:para>Specifies that only the properties that have values other than $null or empty should be displayed.</maml:para>
          <maml:para>Aliases: HaveValue, NotNullOrEmpty</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>Value</maml:name>
        <maml:description>
          <maml:para>Specifies the values of properties to filter on.</maml:para>
          <maml:para>Supports wildcards.</maml:para>
          <maml:para>Implies -HasValue.</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="false">PSObject[]</command:parameterValue>
        <dev:type>
          <maml:name>PSObject[]</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>TypeName</maml:name>
        <maml:description>
          <maml:para>Specifies the type names of properties to filter on.</maml:para>
          <maml:para>Supports wildcards.</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>CompactNumbers</maml:name>
        <maml:description>
          <maml:para>Displays numbers as Kilo, Mega, Giga, Tera, or Peta depending on the magnitude of the number.</maml:para>
          <maml:para>If the number is smaller than 1K, it is displayed without conversion.</maml:para>
          <maml:para>It differs from the -NumbersAs parameter in the way, that -NumbersAs parameter uses the specified units (Kilo, Mega, etc.), and -CompactNumbers determines the proper unit based on the number's magnitude.</maml:para>
          <maml:para>This parameter has priority over the -NumbersAs parameter.</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>NumberGroupSeparator</maml:name>
        <maml:description>
          <maml:para>Displays numbers with group separators.</maml:para>
          <maml:para>Group separator symbol depends on regional settings.</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="NullOrEmpty">
        <maml:name>NoValue</maml:name>
        <maml:description>
          <maml:para>Specifies that only the properties that have $null or empty values should be displayed.</maml:para>
          <maml:para>Alias: NullOrEmpty</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>NumbersAs</maml:name>
        <maml:description>
          <maml:para>Displays numbers as Kilo, Mega, Giga, Tera, or Peta.</maml:para>
          <maml:para>If the number is smaller than the specified value, it is displayed without conversion.</maml:para>
          <maml:para>It differs from the -CompactNumbers parameter in the way, that -NumbersAs parameter uses the specified units (Kilo, Mega, etc.), and -CompactNumbers determines the proper unit based on the number's magnitude.</maml:para>
          <maml:para>The -CompactNumbers parameter has priority over this parameter.</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>NumericTypes</maml:name>
        <maml:description>
          <maml:para>Specifies that only the properties that have numeric values (Int, Double, etc.) should be displayed.</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>SymbolicTypes</maml:name>
        <maml:description>
          <maml:para>Specifies that only the properties that have textual values (String, Char) should be displayed.</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>ValueFilter</maml:name>
        <maml:description>
          <maml:para>Specifies scriptblock to be used for filtering by properties values.</maml:para>
          <maml:para>For example: -ValueFilter {$PSItem -like "somevalue"}</maml:para>
          <maml:para>Implies -HasValue.</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="false">ScriptBlock</command:parameterValue>
        <dev:type>
          <maml:name>ScriptBlock</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>TypeNameFilter</maml:name>
        <maml:description>
          <maml:para>Specifies scriptblock to be used for filtering by properties value type names.</maml:para>
          <maml:para>For example: -TypeNameFilter {$PSItem -like "datatype"}</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="false">ScriptBlock</command:parameterValue>
        <dev:type>
          <maml:name>ScriptBlock</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>None</dev:defaultValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes>
      <command:inputType>
        <dev:type>
          <maml:name>System.Object</maml:name>
        </dev:type>
        <maml:description>
          <maml:para></maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <maml:name>System.Object</maml:name>
        </dev:type>
        <maml:description>
          <maml:para></maml:para>
        </maml:description>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:alert>
        <maml:para></maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>Example 1: Properties that have values other than $null or empty</maml:title>
        <dev:code>Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -Filter "Index=10" | ff -HasValue

Caption : [00000010] Hyper-V Virtual Switch Extension Adapter
Description : Hyper-V Virtual Switch Extension Adapter
SettingID : {946D7DBF-BE1D-4236-80AC-45892A467346}
DHCPEnabled : False
Index : 10
InterfaceIndex : 9
IPEnabled : False
ServiceName : VMSMP
CimClass : root/cimv2:Win32_NetworkAdapterConfiguration
CimInstanceProperties : {Caption, Description, SettingID, ArpAlwaysSourceRoute…}
CimSystemProperties : Microsoft.Management.Infrastructure.CimSystemProperties</dev:code>
        <dev:remarks>
          <maml:para>Get only the properties that have values other than $null or empty.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>------- Example 2: Properties that have specified values -------</maml:title>
        <dev:code>Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -Filter "Index=10" | ff -Value *adapter, 3, $false

Caption : [00000010] Hyper-V Virtual Switch Extension Adapter
Description : Hyper-V Virtual Switch Extension Adapter
DHCPEnabled : False
InterfaceIndex : 3
IPEnabled : False</dev:code>
        <dev:remarks>
          <maml:para>Get only the properties that have specified values.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>----------- Example 3: Properties of specified types -----------</maml:title>
        <dev:code>Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -Filter "Index=10" | ff -TypeName string, *int, 'ushort`[`]'

Caption : [00000010] Hyper-V Virtual Switch Extension Adapter
Description : Hyper-V Virtual Switch Extension Adapter
SettingID : {9DB15731-C0BE-421E-B21E-F3BDA6B18D6B}
DatabasePath :
DHCPServer :
DNSDomain :
DNSHostName :
ForwardBufferMemory :
GatewayCostMetric :
Index : 10
InterfaceIndex : 3
...</dev:code>
        <dev:remarks>
          <maml:para>Get only the properties of specific data types.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>---- Example 4: Properties that have $null or empty values ----</maml:title>
        <dev:code>Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -Filter "Index=10" | ff -NoValue

ArpAlwaysSourceRoute :
ArpUseEtherSNAP :
DatabasePath :
DeadGWDetectEnabled :
DefaultIPGateway :
DefaultTOS :
DefaultTTL :
DHCPLeaseExpires :
DHCPLeaseObtained :
DHCPServer :
DNSDomain :
DNSDomainSuffixSearchOrder :
...</dev:code>
        <dev:remarks>
          <maml:para>Get only the properties that have $null or empty values.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>--- Example 5: Properties that have values of numeric types ---</maml:title>
        <dev:code>Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -Filter "Index=10" | ff -NumericTypes

ForwardBufferMemory :
Index : 10
InterfaceIndex : 9
IPConnectionMetric :
IPXMediaType :
KeepAliveInterval :
KeepAliveTime :
MTU :
NumForwardPackets :
TcpipNetbiosOptions :
TcpMaxConnectRetransmissions :
TcpMaxDataRetransmissions :
TcpNumConnections :
TcpWindowSize :</dev:code>
        <dev:remarks>
          <maml:para>Get only the properties that have values of numeric types (Int, Double, etc.).</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>--- Example 6: Properties that have values of symbolic types ---</maml:title>
        <dev:code>Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -Filter "Index=10" | ff -SymbolicTypes

Caption : [00000010] Hyper-V Virtual Switch Extension Adapter
Description : Hyper-V Virtual Switch Extension Adapter
SettingID : {946D7DBF-BE1D-4236-80AC-45892A467346}
DatabasePath :
DHCPServer :
DNSDomain :
DNSHostName :
IPXAddress :
IPXVirtualNetNumber :
MACAddress :
ServiceName : VMSMP
WINSHostLookupFile :
WINSPrimaryServer :
WINSScopeID :
WINSSecondaryServer :
PSComputerName :</dev:code>
        <dev:remarks>
          <maml:para>Get only the properties that have values of symbolic types (String, Char).</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>------- Example 7: Display numbers with group separator -------</maml:title>
        <dev:code>Get-CimInstance -ClassName Win32_LogicalDisk -Filter "DeviceID='C:'" | ff -HasValue -NumericTypes -NumberGroupSeparator

Access : 0
FreeSpace : 57,692,909,568
Size : 214,223,253,504
DriveType : 3
MaximumComponentLength : 255
MediaType : 12</dev:code>
        <dev:remarks>
          <maml:para>Use the -NumberGroupSeparator parameter to display numbers with group separators.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------------- Example 8: Display numbers as Mega --------------</maml:title>
        <dev:code>Get-CimInstance -ClassName Win32_LogicalDisk -Filter "DeviceID='C:'" | ff -HasValue -NumericTypes -NumberGroupSeparator -NumbersAs Mega

Access : 0
FreeSpace : 55,018.6 M
Size : 204,299.21 M
DriveType : 3
MaximumComponentLength : 255
MediaType : 12</dev:code>
        <dev:remarks>
          <maml:para>Use the -NumbersAs parameter to display numbers as Mega.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>------------------ Example 9: Compact numbers ------------------</maml:title>
        <dev:code>Get-CimInstance -ClassName Win32_LogicalDisk -Filter "DeviceID='C:'" | ff -HasValue -NumericTypes -CompactNumbers

Access : 0
FreeSpace : 53.73 G
Size : 199.51 G
DriveType : 3
MaximumComponentLength : 255
MediaType : 12</dev:code>
        <dev:remarks>
          <maml:para>Display numbers in their most compact form using Kilo, Mega, Giga, Tera, and Peta units.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>------- Example 10: Properties that have specific values -------</maml:title>
        <dev:code>Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -Filter "Index=10" | ff -ValueFilter {$PSItem -like "*adapter"}

Caption Description
------- -----------
[00000010] Hyper-V Virtual Switch Extension Adapter Hyper-V Virtual Switch Extension Adapter</dev:code>
        <dev:remarks>
          <maml:para>Get only the properties that have specific values.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------- Example 11: Properties of specified data type --------</maml:title>
        <dev:code>Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -Filter "Index=10" | ff -HasValue -TypeNameFilter {$PSItem -like "*int"}

Index InterfaceIndex
----- --------------
   10 9</dev:code>
        <dev:remarks>
          <maml:para>Get only the properties of specific data type.</maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <command:relatedLinks />
  </command:command>
</helpItems>