{"id":301714,"date":"2020-04-12T15:00:21","date_gmt":"2020-04-12T15:00:21","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=301714"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=301714","title":{"rendered":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435: \u043f\u0440\u043e\u0441\u0442\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/496710\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/qx\/7h\/lh\/qx7hlh5idgdlczzublg91s7xvhu.png\"><\/p>\n<p>  \u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0447\u0430\u0441\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e, \u043a\u0440\u0430\u0442\u043a\u043e, \u043d\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0441\u0442\u0430\u0446\u0438\u043e\u043d\u0430\u0440\u043d\u043e\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 \u0438\u043b\u0438 \u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0435, \u0431\u0435\u0437 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u041f\u041e \u0438 \u043d\u0435 \u00ab\u0432\u0441\u043a\u0440\u044b\u0432\u0430\u044f \u043a\u0440\u044b\u0448\u043a\u0443\u00bb.<\/p>\n<p>  \u0421\u043a\u0440\u0438\u043f\u0442 \u043d\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u041f\u041a \u2014 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u041f\u041e!<br \/>  \u041e\u043d \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u043b\u0438\u0448\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0431\u0449\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<br \/>   \u2014 \u00ab\u041f\u0440\u0438\u0432\u0435\u0442! \u041c\u043e\u0439 \u043a\u043e\u043c\u043f \u0441\u0442\u0430\u043b \u0441\u0438\u043b\u044c\u043d\u043e \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u0442\u044c \u0438 \u043d\u0435 \u0442\u044f\u043d\u0435\u0442 \u043d\u043e\u0432\u044b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b\u2026 \u041f\u043e\u0441\u043e\u0432\u0435\u0442\u0443\u0439, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043c\u043e\u0434\u0435\u0440\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e?!\u00bb.<\/p>\n<p>  <a name=\"habracut\"><\/a><br \/>  \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e \u00ab\u0436\u0435\u043b\u0435\u0437\u0435\u00bb \u044d\u0442\u043e:<br \/>   \u2014 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440;<br \/>   \u2014 \u043c\u0430\u0442\u0435\u0440\u0438\u043d\u0441\u043a\u0430\u044f \u043f\u043b\u0430\u0442\u0430;<br \/>   \u2014 \u041e\u0417\u0423;<br \/>   \u2014 \u0436\u0435\u0441\u0442\u043a\u0438\u0439 \u0434\u0438\u0441\u043a.<br \/>  \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0431 \u041e\u0421 \u044d\u0442\u043e:<br \/>   \u2014 \u0438\u043c\u044f \u041f\u041a;<br \/>   \u2014 IP-\u0430\u0434\u0440\u0435\u0441 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f;<br \/>   \u2014 \u0438\u043c\u044f \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<p>  \u041e\u0434\u0438\u043d \u0438\u0437 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u2014 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u041e\u0421 Windows, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443.<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c bat-\u0444\u0430\u0439\u043b:  <\/p>\n<pre><code class=\"dos\">@echo off :\u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 set fname=pcinfo.txt :\u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u0434\u043e\u0432\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e DOS-\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0435 chcp 866 :\u0438\u043c\u044f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430 Echo pcname: %computername% &gt;&gt;%fname% :IP-\u0430\u0434\u0440\u0435\u0441 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430 \u043f\u043e \u0435\u0433\u043e \u0438\u043c\u0435\u043d\u0438 FOR \/F &quot;usebackq tokens=2 delims=[]&quot; %%i IN (`ping %Computername% -n 1 -4`) DO if not &quot;%%i&quot;==&quot;&quot; Set ip=%%i Echo IP %computername%: %ip% &gt;&gt;%fname% :\u0438\u043c\u044f \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f Echo username: %username%  &gt;&gt;%fname% :\u043c\u043e\u0434\u0435\u043b\u044c \u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0430 set cmd=wmic computersystem get model for \/f &quot;skip=1 delims=&quot; %%Z in ('%cmd%') do (     set _pn=%%Z \tGOTO BREAK1 ) :BREAK1 echo CS Model: %_pn% &gt;&gt;%fname% :\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 set cmd=wmic cpu get name for \/f &quot;skip=1 delims=&quot; %%Z in ('%cmd%') do (     set _cpu=%%Z \tGOTO BREAK1 ) :BREAK1 echo CPU: %_cpu% &gt;&gt;%fname% :\u043c\u0430\u0442\u0435\u0440\u0438\u043d\u0441\u043a\u0430\u044f \u043f\u043b\u0430\u0442\u0430 set cmd=wmic baseboard get product for \/f &quot;skip=1 delims=&quot; %%Z in ('%cmd%') do (     set _mb=%%Z     GOTO BREAK2 ) :BREAK2 echo MB: %_mb% &gt;&gt;%fname% :\u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043f\u0430\u043c\u044f\u0442\u044c SETLOCAL ENABLEDELAYEDEXPANSION set mmr=0 for \/f &quot;skip=1 delims=&quot; %%i in ('WMIC MemoryChip get BankLabel^,DeviceLocator^,PartNumber^,Speed^,Capacity') do ( for \/f &quot;tokens=1-5 delims=&quot; %%A in (&quot;%%i&quot;) do ( set BnkLbl=%%A set \/a mmr=!mmr!+1 set BnkLbl=!BnkLbl:BANK 22=DDR2 FB-DIMM! set BnkLbl=!BnkLbl:BANK 21=DDR2! set BnkLbl=!BnkLbl:BANK 24=DDR3! set BnkLbl=!BnkLbl:BANK 0=DDR4! echo Memory !mmr!: !BnkLbl! &gt;&gt;%fname% )) :\u0436\u0435\u0441\u0442\u043a\u0438\u0435 \u0434\u0438\u0441\u043a\u0438 SETLOCAL ENABLEDELAYEDEXPANSION set mmr=0 for \/f &quot;skip=1 delims=&quot; %%i in ('wmic diskdrive get model^,size') do ( for \/f &quot;tokens=1-2 delims=&quot; %%A in (&quot;%%i&quot;) do ( set HDDLbl=%%A set \/a mmr=!mmr!+1 echo HDD !mmr!: !HDDLbl! &gt;&gt;%fname% ))<\/code><\/pre>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/496710\/\"> https:\/\/habr.com\/ru\/post\/496710\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/496710\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/qx\/7h\/lh\/qx7hlh5idgdlczzublg91s7xvhu.png\"><\/p>\n<p>  \u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0447\u0430\u0441\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e, \u043a\u0440\u0430\u0442\u043a\u043e, \u043d\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0441\u0442\u0430\u0446\u0438\u043e\u043d\u0430\u0440\u043d\u043e\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 \u0438\u043b\u0438 \u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0435, \u0431\u0435\u0437 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u041f\u041e \u0438 \u043d\u0435 \u00ab\u0432\u0441\u043a\u0440\u044b\u0432\u0430\u044f \u043a\u0440\u044b\u0448\u043a\u0443\u00bb.<\/p>\n<p>  \u0421\u043a\u0440\u0438\u043f\u0442 \u043d\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u041f\u041a \u2014 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u041f\u041e!<br \/>  \u041e\u043d \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u043b\u0438\u0448\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0431\u0449\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<br \/>   \u2014 \u00ab\u041f\u0440\u0438\u0432\u0435\u0442! \u041c\u043e\u0439 \u043a\u043e\u043c\u043f \u0441\u0442\u0430\u043b \u0441\u0438\u043b\u044c\u043d\u043e \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u0442\u044c \u0438 \u043d\u0435 \u0442\u044f\u043d\u0435\u0442 \u043d\u043e\u0432\u044b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b\u2026 \u041f\u043e\u0441\u043e\u0432\u0435\u0442\u0443\u0439, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043c\u043e\u0434\u0435\u0440\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e?!\u00bb.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-301714","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/301714","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=301714"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/301714\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=301714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=301714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=301714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}