API Reference
Class
ComputerOperatingSystemService
Produces an operating system inventory snapshot grouped by generation and role.
Inheritance
- Object
- ComputerOperatingSystemService
Methods
public static async Task<ComputerOperatingSystemSnapshot> GetSnapshotAsync(ActiveDirectoryDataServices dataServices, String domainName, ComputerQueryOptions queryOptions = null, CancellationToken cancellationToken = null) #Returns:
Task<ComputerOperatingSystemSnapshot>Builds an OS inventory snapshot for the given domain.
Parameters
- dataServices ADPlayground.ActiveDirectoryDataServices
- Optional directory data services.
- domainName System.String
- Domain to query.
- queryOptions ADPlayground.ComputerQueryOptions = null
- Optional query options; defaults applied when null.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Snapshot with per-generation lists and quick flags.