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.
This cmdlet was introduced in Windows PowerShell 5.1.
This command gets all system and operating system properties from the computer.
Get-ComputerInfo
This command gets all version properties from the computer.
Get-ComputerInfo -Property "*version"
WindowsCurrentVersion : 6.3
WindowsVersion : 2009
BiosBIOSVersion : {LENOVO - 1380, N1FET64W (1.38 ), Lenovo - 1380}
BiosEmbeddedControllerMajorVersion : 1
BiosEmbeddedControllerMinorVersion : 17
BiosSMBIOSBIOSVersion : N1FET64W (1.38 )
BiosSMBIOSMajorVersion : 2
BiosSMBIOSMinorVersion : 8
BiosSystemBiosMajorVersion : 1
BiosSystemBiosMinorVersion : 38
BiosVersion : LENOVO - 1380
OsVersion : 10.0.19043
OsCSDVersion :
OsServicePackMajorVersion : 0
OsServicePackMinorVersion : 0
Specifies, as a string array, the computer properties in which this cmdlet displays.
Type: | String[] |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | True |
String[]
You can pipe a string containing the name of a property to this cmdlet.
Microsoft.PowerShell.Management.ComputerInfo
This cmdlet returns a ComputerInfo object.
Windows PowerShell includes the following aliases for Get-ComputerInfo
:
gin
PowerShell feedback
PowerShell is an open source project. Select a link to provide feedback: