Daha iyi powershell script için adres: http://gallery.technet.microsoft.com/scriptcenter/05b1d766-25a6-45cd-a0f1-8741ff6c04ec
PS C:\hp\Debuggt; $(Invoke-Expression "cmd /c netsh dhcp server \\10.130.214.13 scope 10.214.102.0 show clients")
Changed the current scope context to 10.214.102.0 scope.
Type : N - NONE, D - DHCP B - BOOTP, U - UNSPECIFIED, R - RESERVATION IP
==================================================================================
IP Address - Subnet Mask - Unique ID - Lease Expires -Type
==================================================================================
10.214.102.20 - 255.255.255.0 - 00-1c-bf-b7-d3-b8 -07.05.2011 17:54:59 -D
10.214.102.21 - 255.255.255.0 - 00-21-6b-61-19-fe -07.05.2011 14:45:01 -D
10.214.102.22 - 255.255.255.0 - 00-21-6b-5f-9e-72 -07.05.2011 11:51:58 -D
10.214.102.23 - 255.255.255.0 - 00-21-6b-1d-6a-5c -07.05.2011 18:28:48 -D
10.214.102.24 - 255.255.255.0 - ac-81-12-26-57-06 -07.05.2011 13:57:07 -D
10.214.102.25 - 255.255.255.0 -ac-81-12-1b-9f-59 - NEVER EXPIRES -U
10.214.102.26 - 255.255.255.0 - 00-21-6b-5f-c5-3c -08.05.2011 20:12:02 -D
10.214.102.27 - 255.255.255.0 - 00-22-fa-ee-00-58 -07.05.2011 18:44:30 -D
10.214.102.28 - 255.255.255.0 - 00-26-82-56-95-78 -08.05.2011 11:29:41 -D
10.214.102.30 - 255.255.255.0 - 00-27-10-24-81-b4 -05.05.2011 14:46:26 -D
10.214.102.31 - 255.255.255.0 - 58-94-6b-87-22-98 -07.05.2011 12:38:43 -D
10.214.102.32 - 255.255.255.0 - 00-26-c6-59-c0-22 -07.05.2011 22:04:10 -D
10.214.102.33 - 255.255.255.0 - ac-81-12-0b-57-75 -07.05.2011 08:29:14 -D
Hiç yorum yok:
Yorum Gönder