Get-ComputerInfo [[-Property] <String>] [<CommonParameters>]
The Get-ComputerInfo cmdlet gets a consolidated object of system and operating system properties.
- Default value is None
- Accepts pipeline input ByPropertyName
Specifies, as a string array, the computer properties in which this cmdlet displays.
This cmdlet supports the common parameters: Verbose, Debug,ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer, PipelineVariable, and OutVariable.
- 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.
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