API Reference
Class
ComputerProjector
Convenience projector that converts ComputerRecord rows into commonly-used typed views for UI/reporting.
Inheritance
- Object
- ComputerProjector
Methods
Format 2 overloads
public static IEnumerable<Object> Format(IEnumerable<ComputerRecord> computers, ComputerView view) #Returns:
IEnumerable<Object>Formats the input sequence using the requested view.
Parameters
- computers System.Collections.Generic.IEnumerable{ADPlayground.ComputerRecord}
- Input computer records.
- view System.String
- View name (Default, Base, Security, Compact, Laps, LapsSummary, LapsDetail, Delegation, BitLocker, Aging, Health).
Returns
Sequence of typed view objects or original rows.
Format(System.Collections.Generic.IEnumerable{ADPlayground.ComputerRecord} computers, ADPlayground.Computers.ComputerView view) #Formats the input sequence using a typed ComputerView. Prefer this overload in rules to ensure compile‑time safety.
Parameters
- computers System.Collections.Generic.IEnumerable{ADPlayground.ComputerRecord}
- view ADPlayground.Computers.ComputerView
public static IEnumerable<ComputerAgingView> FormatAging(IEnumerable<ComputerRecord> computers, Nullable<Int32> minInactiveDays = null, Nullable<Int32> minPasswordAgeDays = null) #Returns:
IEnumerable<ComputerAgingView>Produces stale-focused aging projections with optional threshold evaluation.
Parameters
- computers System.Collections.Generic.IEnumerable{ADPlayground.ComputerRecord}
- Input computer records.
- minInactiveDays System.Nullable{System.Int32} = null
- Optional inactivity threshold in days.
- minPasswordAgeDays System.Nullable{System.Int32} = null
- Optional password age threshold in days.
Returns
Typed aging rows.