Get-ComputerInfo
Get-ComputerInfo [[-Property] <String[]>] [<CommonParameters>]
The Get-ComputerInfo cmdlet gets a consolidated object of system and operating system properties.
Parameters
-Property <String[]>
- Default value is None
- Accepts pipeline input ByPropertyName
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.ComputerInfoExamples
-
Get all computer properties:
PS C:\> Get-ComputerInfo
This command gets all system and operating system properties from the computer.
-
Get all computer operating system properties:
PS C:\> Get-ComputerInfo -Property "os*"
This command gets all operating system properties from the computer.
Additional Notes
This work is licensed under a Creative Commons Attribution 4.0 International. It is attributed to Microsoft Corporation and can be found here.
PowerShell Commands