In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.
<?php $host = "computer number"; $user = "doamin\user"; $pass = "password"; //$obj = new COM ( 'winmgmts://'. $displayasset .'/root/CIMV2' ); $wmiLocator = new COM('WbemScripting.SWbemLocator'); $obj = $wmiLocator->ConnectServer($host, 'root\cimv2', $user, $pass); // $fso = new COM ( "Scripting.FileSystemObject" ); $ipaddr = $obj->ExecQuery("SELECT IPAddress From Win32_NetworkAdapterConfiguration Where IPEnabled = True"); settype($ipaddr, "string"); echo $ipaddr; ?>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.