TestimoX

API Reference

Class

ComputerInventoryEntry

Namespace ADPlayground.Computers
Assembly ADPlayground
Modifiers sealed

Lightweight computer projection for OS compliance checks.

Inheritance

  • Object
  • ComputerInventoryEntry

Constructors

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.