SCRIPT: List Active Domain PCs on a Network

This Patch will query all the PCs from an OU (and sub OUs), and ping it by 2 packetes, the patch will then list the PC's that replies the ping packets

logedon.bat

@echo off setlocal

Endlocal

Launcher.bat

Call logedon.bat >logedon.log

- Another Method: Using psloggedon.exe -Slower-

@echo off setlocal

Endlocal