cluster Цитата:
set report=%computername%_report.txt
set share=\\dc
::
echo PCname is %computername% >%share%\%report%
set disk=C:
echo Disk %disk% >>%share%\%report%
fsutil volume diskfree %disk% | find /I "Total # of avail free bytes">>%share%\%report%
set disk=D:
echo Disk %disk% >>%share%\%report%
fsutil volume diskfree %disk% | find /I "Total # of avail free bytes">>%share%\%report%
systeminfo | find /I "OS Name" >>%share%\%report%
systeminfo | find /I "OS Version" | find /v /I "BIOS" >>%share%\%report%
::
PCname is XZ
Disk C:
Total # of avail free bytes : 2586095616
Disk D:
Total # of avail free bytes : 7053115392
OS Name: Microsoft Windows XP Professional
OS Version: 5.1.2600 Service Pack 3 Build 2600
psinfo - может всё сделать и без политик
Цитата:
set report=%computername%_report.txt
set share=\\dc
echo PCname is %computername% >%share%\%report%
echo ------------ >>%share%\%report%
echo Windows: >>%share%\%report%
PsInfo.exe | find /I "Kernel version:" >>%share%\%report%
PsInfo.exe | find /I "Product type:" >>%share%\%report%
PsInfo.exe | find /I "Service pack:" >>%share%\%report%
echo ------------ >>%share%\%report%
echo Disk Space:>>%share%\%report%
PsInfo.exe -d | find /I "Fixed">>%share%\%report%
PCname is XZ
------------
Windows:
Kernel version: Microsoft Windows XP, Uniprocessor Free
Product type: Professional
Service pack: 3
------------
Disk Space:
C: Fixed NTFS System 20.00 GB 2.41 GB 12.0%
D: Fixed NTFS Data 445.76 GB 6.57 GB 1.5%