다음을 통해 공유


Get-ComputerInfo

Gets a consolidated object of system and operating system properties.

구문

Default (기본값)

Get-ComputerInfo
    [[-Property] <String[]>]
    [<CommonParameters>]

Description

The Get-ComputerInfo cmdlet gets a consolidated object of system and operating system properties. This cmdlet was introduced in Windows PowerShell 5.1.

예제

Example 1: Get all computer properties

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

Get-ComputerInfo

Example 2: Get all computer version properties

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

매개 변수

-Property

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

매개 변수 속성

형식:

String[]

Default value:None
와일드카드 지원:True
DontShow:False

매개 변수 집합

(All)
Position:0
필수:False
파이프라인의 값:True
속성 이름별 파이프라인의 값:True
나머지 인수의 값:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

입력

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