Class DomainStatus
Class shows status for managed machines and user accounts in particular domain:
Count of all machines that have admin password populated Count of live machines (changed their password within last 60 days) Count of managed domain user accountsInheritance
System.Object
DomainStatus
Namespace: AdmPwd.Types
Assembly: AdmPwd.PDSWrapper.dll
Syntax
public class DomainStatus : Object
Constructors
DomainStatus(string, uint, uint, uint)
Default constructor
Declaration
public DomainStatus(string name, uint managedMachines, uint managedMachinesTotal, uint managedAccounts)
Parameters
Type | Name | Description |
---|---|---|
string | name | DNS name of domain |
uint | managedMachines | Count of managed machines |
uint | managedMachinesTotal | Total count of managed machines |
uint | managedAccounts | Count of managed domain user accounts |
Properties
ManagedAccounts
Count of managed domain user accounts - user accounts that have their password managed by PDS
Declaration
public uint ManagedAccounts { get; }
Property Value
Type | Description |
---|---|
uint |
ManagedMachines
Count of managed machines - machines that have local admin password reported in AD and changed its password within last 60 days.
Only those machines are counted as license consumersDeclaration
public uint ManagedMachines { get; }
Property Value
Type | Description |
---|---|
uint |
ManagedMachinesTotal
Total count of managed machines - all machines that have local admin password reported in AD, regardless whether they're alive or not
Declaration
public uint ManagedMachinesTotal { get; }
Property Value
Type | Description |
---|---|
uint |
Name
DNS name of domain
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Methods
ToString()
Overriden to show more information in PowerShell
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | Name of domain and number of managed machines in domain |