VER CARACTERISTICAS DE UN EQUIPO: CREAC *.BAT
@echo off
set /p ip=IP o HOSTNAME:
ping %ip%
set /p usuario= Usuario:
set /p pass= Password:
echo ::::::::::INFORMACION DEL EQUIPO:: %ip% ::::::
wmic /node:%ip% /user:%usuario% /password:%pass% baseboard get Manufacturer,Model,Name
wmic /node:%ip% /user:%usuario% /password:%pass% desktop get Name
wmic /node:%ip% /user:%usuario% /password:%pass% csproduct get Name
wmic /node:%ip% /user:%usuario% /password:%pass% bios get serialnumber
wmic /node:%ip% /user:%usuario% /password:%pass% OS get Caption,CSDVersion,OSArchitecture,Version
wmic /node:%ip% /user:%usuario% /password:%pass% CPU get Name,NumberOfCores,NumberOfLogicalProcessors
wmic /node:%ip% /user:%usuario% /password:%pass% MEMORYCHIP get Capacity,DeviceLocator,PartNumber,Tag
wmic /node:%ip% /user:%usuario% /password:%pass% NIC get Description,MACAddress,NetEnabled,Speed
wmic /node:%ip% /user:%usuario% /password:%pass% DISKDRIVE get InterfaceType,Name,Size,Status
wmic /node:%ip% /user:%usuario% /password:%pass% path win32_physicalmedia get SerialNumber
wmic /node:%ip% /user:%usuario% /password:%pass% USERACCOUNT get Caption,Name,PasswordRequired,Status
wmic /node:%ip% /user:%usuario% /password:%pass%
wmic /node:%ip% /user:%usuario% /password:%pass%
wmic /node:%ip% /user:%usuario% /password:%pass%
wmic /node:%ip% /user:%usuario% /password:%pass%
pause
@echo off
set /p ip=IP o HOSTNAME:
ping %ip%
set /p usuario= Usuario:
set /p pass= Password:
echo ::::::::::INFORMACION DEL EQUIPO:: %ip% ::::::
wmic /node:%ip% /user:%usuario% /password:%pass% baseboard get Manufacturer,Model,Name
wmic /node:%ip% /user:%usuario% /password:%pass% desktop get Name
wmic /node:%ip% /user:%usuario% /password:%pass% csproduct get Name
wmic /node:%ip% /user:%usuario% /password:%pass% bios get serialnumber
wmic /node:%ip% /user:%usuario% /password:%pass% OS get Caption,CSDVersion,OSArchitecture,Version
wmic /node:%ip% /user:%usuario% /password:%pass% CPU get Name,NumberOfCores,NumberOfLogicalProcessors
wmic /node:%ip% /user:%usuario% /password:%pass% MEMORYCHIP get Capacity,DeviceLocator,PartNumber,Tag
wmic /node:%ip% /user:%usuario% /password:%pass% NIC get Description,MACAddress,NetEnabled,Speed
wmic /node:%ip% /user:%usuario% /password:%pass% DISKDRIVE get InterfaceType,Name,Size,Status
wmic /node:%ip% /user:%usuario% /password:%pass% path win32_physicalmedia get SerialNumber
wmic /node:%ip% /user:%usuario% /password:%pass% USERACCOUNT get Caption,Name,PasswordRequired,Status
wmic /node:%ip% /user:%usuario% /password:%pass%
wmic /node:%ip% /user:%usuario% /password:%pass%
wmic /node:%ip% /user:%usuario% /password:%pass%
wmic /node:%ip% /user:%usuario% /password:%pass%
pause
Comentarios
Publicar un comentario
Las dudas y el agradecimientos, nos ayudan a mejorar a diario...