Delen via


ComputerInfo Class

Definition

The ComputerInfo class is output to the PowerShell pipeline.

public ref class ComputerInfo
[Windows::Foundation::Metadata::WebHostHidden]
class ComputerInfo
public class ComputerInfo
type ComputerInfo = class
Public Class ComputerInfo
Inheritance
ComputerInfo

Constructors

ComputerInfo()

Properties

BiosBIOSVersion

Array of the complete system BIOS information. In many computers there can be several version strings that are stored in the registry and represent the system BIOS information

BiosBuildNumber

Internal identifier for this compilation of the BIOS firmware

BiosCaption

Short description of the BIOS.

BiosCharacteristics

Array of BIOS characteristics supported by the system as defined by the System Management BIOS Reference Specification

BiosCodeSet

Code set used by the BIOS

BiosCurrentLanguage

Name of the current BIOS language

BiosDescription

Description of the BIOS

BiosEmbeddedControllerMajorVersion

Major version of the embedded controller firmware

BiosEmbeddedControllerMinorVersion

Minor version of the embedded controller firmware

BiosFirmwareType

Firmware type of the local computer.

BiosIdentificationCode

Manufacturer's identifier for this software element. Often this will be a stock keeping unit (SKU) or a part number

BiosInstallableLanguages

Number of languages available for installation on this system. Language may determine properties such as the need for Unicode and bidirectional text

BiosInstallDate

Date and time the object was installed.

BiosLanguageEdition

Language edition of the BIOS firmware. The language codes defined in ISO 639 should be used. Where the software element represents a multilingual or international version of a product, the string "multilingual" should be used

BiosListOfLanguages

Array of names of available BIOS-installable languages

BiosManufacturer

Manufacturer of the BIOS

BiosName

Name used to identify the BIOS

BiosOtherTargetOS

Records the manufacturer and operating system type for the BIOS when the BiosTargetOperatingSystem property has a value of 1 (Other). When TargetOperatingSystem has a value of 1, BiosOtherTargetOS must have a nonnull value. For all other values of BiosTargetOperatingSystem, BiosOtherTargetOS is NULL

BiosPrimaryBIOS

If true, this is the primary BIOS of the computer system

BiosReleaseDate

Release date of the Windows BIOS

BiosSeralNumber

Assigned serial number of the BIOS

BiosSerialNumber
BiosSMBIOSBIOSVersion

BIOS version as reported by SMBIOS

BiosSMBIOSMajorVersion

SMBIOS major version number. This property is null if SMBIOS is not found

BiosSMBIOSMinorVersion

SMBIOS minor version number. This property is null if SMBIOS is not found

BiosSMBIOSPresent

If true, the SMBIOS is available on this computer system

BiosSoftwareElementState

State of a BIOS software element

BiosStatus

Status of the BIOS

BiosSystemBiosMajorVersion

Major elease of the System BIOS

BiosSystemBiosMinorVersion

Minor release of the System BIOS

BiosTargetOperatingSystem

Target operating system

BiosVersion

Version of the BIOS. This string is created by the BIOS manufacturer

CsAdminPasswordStatus

System hardware security settings for administrator password status

CsAutomaticManagedPagefile

If true, the system manages the page file

CsAutomaticResetBootOption

If True, the automatic reset boot option is enabled

CsAutomaticResetCapability

If True, the automatic reset is enabled

CsBootOptionOnLimit

Boot option limit is ON. Identifies the system action when the CsResetLimit value is reached

CsBootOptionOnWatchDog

Type of reboot action after the time on the watchdog timer is elapsed

CsBootROMSupported

If true, indicates whether a boot ROM is supported

CsBootStatus

Status and Additional Data fields that identify the boot status

CsBootupState

System is started. Fail-safe boot bypasses the user startup files—also called SafeBoot

CsCaption

The name of this computer

CsChassisBootupState

Boot up state of the chassis

CsChassisSKUNumber

The chassis or enclosure SKU number as a string

CsCurrentTimeZone

Amount of time the unitary computer system is offset from Coordinated Universal Time (UTC).

CsDaylightInEffect

If True, the daylight savings mode is ON

CsDescription

Description of the computer system

CsDNSHostName

Name of local computer according to the domain name server

CsDomain

Name of the domain to which a computer belongs.

CsDomainRole

Role of a computer in an assigned domain workgroup. A domain workgroup is a collection of computers on the same network. For example, a DomainRole property may show that a computer is a member workstation

CsEnableDaylightSavingsTime

Enables daylight savings time on a computer. A value of True indicates that the system time changes to an hour ahead or behind when DST starts or ends. A value of False indicates that the system time does not change to an hour ahead or behind when DST starts or ends. A value of NULL indicates that the DST status is unknown on a system.

CsFrontPanelResetStatus

Hardware security setting for the reset button on a computer

CsHypervisorPresent

If True, a hypervisor is present

CsInfraredSupported

If True, an infrared port exists on a computer system

CsInitialLoadInfo

Data required to find the initial load device or boot service to request that the operating system start up

CsInstallDate

Object is installed. An object does not need a value to indicate that it is installed

CsKeyboardPasswordStatus

System hardware security setting for Keyboard Password Status

CsLastLoadInfo

Array entry of the CsInitialLoadInfo property that contains the data to start the loaded operating system

CsManufacturer

Name of the computer manufacturer

CsModel

Product name that a manufacturer gives to a computer

CsName

Key of a CIM_System instance in an enterprise environment

CsNetworkAdapters

An array of NetworkAdapter objects describing any network adapters on the system.

CsNetworkServerModeEnabled

If True, the network Server Mode is enabled

CsNumberOfLogicalProcessors

Number of logical processors available on the computer

CsNumberOfProcessors

Number of physical processors currently available on a system.

CsOEMStringArray

Array of free-form strings that an OEM defines. For example, an OEM defines the part numbers for system reference documents, manufacturer contact information, and so on

CsPartOfDomain

If True, the computer is part of a domain. If the value is NULL, the computer is not in a domain or the status is unknown

CsPauseAfterReset

Time delay before a reboot is initiated, in milliseconds. It is used after a system power cycle, local or remote system reset, and automatic system reset. A value of –1 (minus one) indicates that the pause value is unknown

CsPCSystemType

Type of the computer in use, such as laptop, desktop, or tablet

CsPCSystemTypeEx

Type of the computer in use, such as laptop, desktop, or tablet.

CsPhyicallyInstalledMemory

Size of physically installed memory, as reported by the Windows API function GetPhysicallyInstalledSystemMemory

CsPhysicallyInstalledMemory
CsPowerManagementCapabilities

Array of the specific power-related capabilities of a logical device

CsPowerManagementSupported

If True, device can be power-managed, for example, a device can be put into suspend mode, and so on.

CsPowerOnPasswordStatus

System hardware security setting for Power-On Password Status

CsPowerState

Current power state of a computer and its associated operating system.

CsPowerSupplyState

State of the power supply or supplies when last booted

CsPrimaryOwnerContact

Contact information for the primary system owner. For example, phone number, email address, and so on

CsPrimaryOwnerName

Name of the primary system owner

CsProcessors

Array of Processor objects describing each processor on the system.

CsResetCapability

Indicates if the computer system can be resut.

CsResetCount

Number of automatic resets since the last reset. A value of –1 (minus one) indicates that the count is unknown

CsResetLimit

Number of consecutive times a system reset is attempted. A value of –1 (minus one) indicates that the limit is unknown

CsRoles

Array that specifies the roles of a system in the information technology environment

CsStatus

Statis pf the computer system

CsSupportContactDescription

Array of the support contact information for the Windows operating system

CsSystemFamily

The family to which a particular computer belongs. A family refers to a set of computers that are similar but not identical from a hardware or software point of view

CsSystemSKUNumber

Identifies a particular computer configuration for sale. It is sometimes also called a product ID or purchase order number

CsSystemType

System running on the Windows-based computer

CsThermalState

Thermal state of the system when last booted

CsTotalPhysicalMemory

Total size of physical memory.

CsUserName

Name of a user that is logged on currently.

CsWakeUpType

Event that causes the system to power up

CsWorkgroup

Name of the workgroup for this computer

DeviceGuardAvailableSecurityProperties

Available Device Guard security properties

DeviceGuardCodeIntegrityPolicyEnforcementStatus

Status of the Device Guard Code Integrity policy enforcement

DeviceGuardRequiredSecurityProperties

Required Device Guard security properties

DeviceGuardSecurityServicesConfigured

Configured Device Guard security services

DeviceGuardSecurityServicesRunning

Running Device Guard security services

DeviceGuardSmartStatus

Indicates the status of the Device Guard features

DeviceGuardUserModeCodeIntegrityPolicyEnforcementStatus

Status of the Device Guard user mode Code Integrity policy enforcement

HyperVisorPresent

If true, a HyperVisor was detected

HyperVRequirementDataExecutionPreventionAvailable

If a HyperVisor is not present, indicates the state of the requirement that the Data Execution Prevention feature is available

HyperVRequirementSecondLevelAddressTranslation

If a HyperVisor is not present, indicates the state of the requirement that the processor supports address translation extensions used for virtualization

HyperVRequirementVirtualizationFirmwareEnabled

If a HyperVisor is not present, indicates the state of the requirement that the firmware has enabled virtualization extensions

HyperVRequirementVMMonitorModeExtensions

If a HyperVisor is not present, indicates the state of the requirement that the processor supports Intel or AMD Virtual Machine Monitor extensions

KeyboardLayout

Layout of the (first) keyboard attached to the system

LogonServer

Path to the system's logon server

OsArchitecture

Architecture of the operating system, as opposed to the processor

OsBootDevice

Name of the disk drive from which the Windows operating system starts

OsBuildNumber

Build number of the operating system

OsBuildType

Type of build used for the operating system

OsCodeSet

Code page value the operating system uses

OsCountryCode

Code for the country/region that an operating system uses

OsCSDVersion

String that indicates the latest service pack installed on a computer. If no service pack is installed, the string is NULL

OsCurrentTimeZone

Number, in minutes, an operating system is offset from Greenwich mean time (GMT). The number is positive, negative, or zero

OsDataExecutionPrevention32BitApplications

When the data execution prevention hardware feature is available, this property indicates that the feature is set to work for 32-bit applications if true

OsDataExecutionPreventionAvailable

If true, then the data execution prevention hardware feature is available

OsDataExecutionPreventionDrivers

When the data execution prevention hardware feature is available, this property indicates that the feature is set to work for drivers if true

OsDataExecutionPreventionSupportPolicy

Indicates which Data Execution Prevention (DEP) setting is applied. The DEP setting specifies the extent to which DEP applies to 32-bit applications on the system. DEP is always applied to the Windows kernel

OsDebug

If true, the operating system is a checked (debug) build

OsDistributed

If True, the operating system is distributed across several computer system nodes. If so, these nodes should be grouped as a cluster

OsEncryptionLevel

Encryption level for secure transactions: 40-bit, 128-bit, or n-bit.

OsForegroundApplicationBoost

Increased priority given to the foreground application

OsFreePhysicalMemory

Number, in kilobytes, of physical memory currently unused and available

OsFreeSpaceInPagingFiles

Number, in kilobytes, that can be mapped into the operating system paging files without causing any other pages to be swapped out

OsFreeVirtualMemory

Number, in kilobytes, of virtual memory currently unused and available

OsHardwareAbstractionLayer

Version of the operating system's Hardware Abstraction Layer (HAL)

OsHotFixes

Array of HotFix objects containing information about any Quick-Fix Enginnering patches (Hot Fixes) applied to the operating system

OsInstallDate

Indicates the install date

OsInUseVirtualMemory

Number, in kilobytes, of virtual memory currently in use

OsLanguage

Language version of the operating system installed

OsLastBootUpTime

Date and time the operating system was last restarted

OsLocalDateTime

Operating system version of the local date and time-of-day

OsLocale

The culture name, such as "en-US", derived from the OsLocaleID property

OsLocaleID

Language identifier used by the operating system.

OsManufacturer

Name of the operating system manufacturer. For Windows-based systems, this value is "Microsoft Corporation"

OsMaxNumberOfProcesses

Maximum number of process contexts the operating system can support

OsMaxProcessMemorySize

Maximum number, in kilobytes, of memory that can be allocated to a process

OsMuiLanguages

Array of Multilingual User Interface Pack (MUI Pack) languages installed on the computer

OsName

Name of the operating system

OsNumberOfLicensedUsers

Number of user licenses for the operating system.

OsNumberOfProcesses

Number of process contexts currently loaded or running on the operating system

OsNumberOfUsers

Number of user sessions for which the operating system is storing state information currently

OsOperatingSystemSKU

SKU number for the operating system

OsOrganization

Company name for the registered user of the operating system

OsOtherTypeDescription

Additional description for the current operating system version

OsPAEEnabled

If True, the physical address extensions (PAE) are enabled by the operating system running on Intel processors

OsPagingFiles

Array of fiel paths to the operating system's paging files

OsPortableOperatingSystem

Specifies whether the operating system booted from an external USB device. If true, the operating system has detected it is booting on a supported locally connected storage device

OsPrimary

Specifies whether this is the primary operating system

OsProductSuites

Array of OSProductSuite objects indicating installed and licensed product additions to the operating system

OsProductType

Additional system information

OsRegisteredUser

Name of the registered user of the operating system

OsSerialNumber

Operating system product serial identification number

OsServerLevel

Server level of the operating system, if the operating system is a server

OsServicePackMajorVersion

Major version of the service pack installed on the computer system

OsServicePackMinorVersion

Minor version of the service pack installed on the computer system

OsSizeStoredInPagingFiles

Total number of kilobytes that can be stored in the operating system paging files—0 (zero) indicates that there are no paging files. Be aware that this number does not represent the actual physical size of the paging file on disk

OsStatus

Current status

OsSuites

Product suites available on the operating system

OsSystemDevice

Physical disk partition on which the operating system is installed

OsSystemDirectory

System directory of the operating system

OsSystemDrive

Letter of the disk drive on which the operating system resides

OsTotalSwapSpaceSize

Total swap space in kilobytes

OsTotalVirtualMemorySize

Number, in kilobytes, of virtual memory

OsTotalVisibleMemorySize

Total amount, in kilobytes, of physical memory available to the operating system.

OsType

Type of operating system

OsUptime

The interval between the time the operating system was last restarted and the current time

OsVersion

Version number of the operating system

OsWindowsDirectory

Windows directory of the operating system

PowerPlatformRole

Power platform role

TimeZone

Name of the system's current time zone

WindowsBuildLabEx

Windows build lab information, from the Windows Registry.

WindowsCurrentVersion

Windows version number, from the Windows Registry.

WindowsEditionId

Windows edition, from the Windows Registry.

WindowsInstallationType

Windows installation type, from the Windows Registry.

WindowsInstallDateFromRegistry

The data Windows was installed, from the Windows Registry.

WindowsProductId

The Windows product ID, from the Windows Registry.

WindowsProductName

The Windows product name, from the Windows Registry.

WindowsRegisteredOrganization

Name of the organization that this installation of Windows is registered to, from the Windows Registry.

WindowsRegisteredOwner

Name of the registered owner of this installation of Windows, from the Windows Registry.

WindowsSystemRoot

Path to the operating system's root directory, from the Windows Registry.

WindowsUBR
WindowsVersion

The Windows ReleaseId, from the Windows Registry.

Applies to