API Reference
ComputerInventoryEntry
Lightweight computer projection for OS compliance checks.
Inheritance
- Object
- ComputerInventoryEntry
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property ComputerOperatingSystemSnapshot.Computers
- Property ComputerOperatingSystemSnapshot.UnknownOrUnreported
- Property ComputerOperatingSystemSnapshot.WindowsNt4
- Property ComputerOperatingSystemSnapshot.WindowsNt4DomainControllers
- Property ComputerOperatingSystemSnapshot.WindowsNt4Workstations
- Property ComputerOperatingSystemSnapshot.WindowsServer2000
- Property ComputerOperatingSystemSnapshot.WindowsServer2000DomainControllers
- Property ComputerOperatingSystemSnapshot.WindowsServer2003
- Property ComputerOperatingSystemSnapshot.WindowsServer2003DomainControllers
- Property ComputerOperatingSystemSnapshot.WindowsServer2008
- Property ComputerOperatingSystemSnapshot.WindowsServer2008DomainControllers
- Property ComputerOperatingSystemSnapshot.WindowsServer2012
- Property ComputerOperatingSystemSnapshot.WindowsServer2012DomainControllers
- Property ComputerOperatingSystemSnapshot.WindowsServer2016
- Property ComputerOperatingSystemSnapshot.WindowsServer2016DomainControllers
- Property ComputerOperatingSystemSnapshot.WindowsServer2019
- Property ComputerOperatingSystemSnapshot.WindowsServer2019DomainControllers
- Property ComputerOperatingSystemSnapshot.WindowsServer2022
- Property ComputerOperatingSystemSnapshot.WindowsServer2022DomainControllers
- Property ComputerOperatingSystemSnapshot.WindowsServer2025
- Property ComputerOperatingSystemSnapshot.WindowsServer2025DomainControllers
- Property ComputerOperatingSystemSnapshot.WindowsWorkstation10
- Property ComputerOperatingSystemSnapshot.WindowsWorkstation11
- Property ComputerOperatingSystemSnapshot.WindowsWorkstation7
- Property ComputerOperatingSystemSnapshot.WindowsWorkstation8
- Property ComputerOperatingSystemSnapshot.WindowsWorkstationVista
- Property ComputerOperatingSystemSnapshot.WindowsWorkstationXp
Constructors
public ComputerInventoryEntry() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String DomainName { get; set; } #DNS domain name.
public String SamAccountName { get; set; } #Computer's sAMAccountName.
public String DistinguishedName { get; set; } #Distinguished name.
public String OperatingSystem { get; set; } #Operating system caption.
public String OperatingSystemVersion { get; set; } #Operating system version string.
public Boolean Enabled { get; set; } #True when the computer account is enabled.
public Boolean IsServer { get; set; } #True when the OS caption indicates a server build.
public Boolean IsDomainController { get; set; } #True when the account represents a domain controller.
public Nullable<Int32> PrimaryGroupId { get; set; } #primaryGroupID for computer account (useful to detect RODC = 521).
public Nullable<Int32> LastLogonDays { get; set; } #Days since last logon (null when unknown).
public Nullable<Int32> PasswordAgeDays { get; set; } #Days since password was last set (null when unknown).
public Nullable<DateTime> LastLogonTimestamp { get; set; } #Replicated lastLogonTimestamp value.
public Nullable<DateTime> PasswordLastSet { get; set; } #Password last set timestamp.
public String Description { get; set; } #Optional computer description from the directory.
public String DisplayLabel { get; } #Friendly label combining SamAccountName and OperatingSystem, falling back to the account name when OS is unknown.