PDQ.com mobilePDQ.com desktop
Support

Get-ComputerInfo

Gets a consolidated object of system and operating system properties.
Get-ComputerInfo [[-Property] <String[]>] [<CommonParameters>]

The Get-ComputerInfo cmdlet gets a consolidated object of system and operating system properties.

Parameters

-Property <String[]>

Specifies, as a string array, the computer properties in which this cmdlet displays.

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer, PipelineVariable, and OutVariable.

Inputs
System.String[]
Outputs
Microsoft.PowerShell.Management.ComputerInfo
Examples
  1. Get all computer properties:
    PS C:\> Get-ComputerInfo
    

    This command gets all system and operating system properties from the computer.

  2. Get all computer operating system properties:
    PS C:\> Get-ComputerInfo -Property "os*"
    

    This command gets all operating system properties from the computer.

Additional Notes
 
Back to PowerShell Command list