Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 860 Bytes

computer.md

File metadata and controls

32 lines (22 loc) · 860 Bytes

The Computer Model

Note: This model contains the traits HasDescription, HasLastLogonAndLogOff & HasCriticalSystemObject. For more information, visit the documentation:

HasDescription, HasLastLogonAndLogOff, HasCriticalSystemObject

List of Available 'Getter' Methods:

$computer = $provider->search()->computers()->find('ACME-EXCHANGE');

// Returns 'Windows Server 2003'
$computer->getOperatingSystem();

// Returns '5.2 (3790)';
$computer->getOperatingSystemVersion();

// Returns 'Service Pack 1';
$computer->getOperatingSystemServicePack();

// Returns 'ACME-DESKTOP001.corp.acme.org'
$computer->getDnsHostName();

$computer->getLastLogOff();

$computer->getLastLogon();

$computer->getLastLogonTimestamp();