{"id":161995,"date":"2012-12-10T15:33:03","date_gmt":"2012-12-10T11:33:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=161995"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=161995","title":{"rendered":"<span class=\"post_title\">\u041d\u043e\u0432\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f DHCP &#038; DNS \u0432 PowerShell v3<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u0414\u043e\u0431\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0442\u043e\u043a \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u0430\u0441\u043e\u0441\u0435\u0434\u0438.<\/p>\n<p>  \u0422\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0432 \u043d\u0430 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u0438 Windows 8 \u043c\u044b (\u0442.\u0435. \u044f) \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0435\u0435 \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0438 \u0431\u0435\u0437 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0438 \u0441\u0440\u0430\u0437\u0443 \u043a\u0438\u043d\u0443\u043b\u0438\u0441\u044c \u0432 \u0431\u043e\u0439. \u0418\u0437 \u0432\u0441\u0435\u0445 \u043d\u043e\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0432\u0435\u0449\u0435\u0439 Windows 8 \u043c\u0435\u043d\u044f \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b PowerShell \u0432\u0435\u0440\u0441\u0438\u0438 3.<br \/>  \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430 \u0438 \u0442.\u043f. \u0432\u0435\u0449\u0435\u0439. \u0410 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043c\u044b \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u0442\u043e, \u0447\u0435\u0433\u043e \u0436\u0434\u0430\u043b\u0438 \u043c\u043d\u043e\u0433\u0438\u0435 (\u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u043d\u0435 \u043f\u0440\u0435\u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u044e) \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b \u043b\u044e\u0431\u044f\u0449\u0438\u0435 AD &#038; PowerShell, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u043c\u043e\u0434\u0443\u043b\u0438 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f DNS \u0438 DHCP.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h5>\u041e\u0442\u0432\u0435\u0440\u0442\u043a\u0438 \u043d\u0435\u0442?<\/h5>\n<p>  \u0422\u0430\u043a \u043f\u043e\u0447\u0435\u043c\u0443 \u0436\u0435 \u043c\u044b (\u043d\u0443 \u043b\u0430\u0434\u043d\u043e, \u044f) \u0436\u0434\u0430\u043b\u0438 \u044d\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u044b. \u0427\u0442\u043e \u0443 \u043d\u0430\u0441 \u0431\u044b\u043b\u043e \u0434\u043e \u044d\u0442\u043e\u0433\u043e. \u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0431\u0440\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f, \u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0431\u044b\u043b\u043e \u0434\u0430\u0436\u0435 \u043c\u043e\u0434\u0443\u043b\u044f ActiveDirectory, \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c (\u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u043c\u043e\u0436\u0435\u043c) \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c\u0438 AD \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e ADSI. \u041d\u043e \u044f \u0434\u0443\u043c\u0430\u044e \u0432\u0440\u044f\u0434 \u043b\u0438 \u043a\u0442\u043e \u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u043f\u043e\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u043c\u043e\u0434\u0443\u043b\u044c ActiveDirectory \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0438 \u043b\u0435\u0433\u0447\u0435 \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 (\u043a\u0442\u043e \u043d\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0435\u043d, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u043f\u043e\u0440\u0438\u0442\u044c).<br \/>  \u0414\u043b\u044f DHCP \u0431\u044b\u043b \u043c\u043e\u0434\u0443\u043b\u044c \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 netsh dhcp. \u041f\u0440\u0438 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043e\u0431\u043b\u0430\u0441\u0442\u044f\u0445, \u0434\u0430\u0436\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043b\u0430\u0441\u044c \u0443 \u043c\u0435\u043d\u044f \u043c\u0438\u043d\u0443\u0442 10, \u0447\u0442\u043e \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u043d\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0437\u0434\u043e\u0440\u043e\u0432\u043e (\u044d\u0442\u043e \u0435\u0449\u0435 \u043c\u044f\u0433\u043a\u043e \u0441\u043a\u0430\u0437\u0430\u043d\u043e).<br \/>  \u0427\u0442\u043e \u0431\u044b\u043b\u043e \u0434\u043b\u044f DNS, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043d\u0435 \u0437\u043d\u0430\u044e, \u043d\u043e \u043f\u043e\u0434\u043e\u0437\u0440\u0435\u0432\u0430\u044e \u0447\u0442\u043e \u043a\u0430\u043a\u0438\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u043a\u043e\u0441\u0442\u044b\u043b\u0438 \u0438\u043c\u0435\u043b\u0438 \u043c\u0435\u0441\u0442\u043e.<\/p>\n<p>  \u0421\u0435\u0439\u0447\u0430\u0441 \u0436\u0435 \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0434\u0430\u0432\u043d\u043e \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u043c\u0438 \u0432\u0435\u0449\u0430\u043c\u0438. <s>\u041d\u0435 \u0437\u043d\u0430\u044e \u043a\u0430\u043a \u0432\u044b \u0430 \u044f \u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432 \u043a\u0430\u043a \u0448\u043a\u043e\u043b\u044c\u043d\u0438\u0446\u0430 \u043d\u0430 \u043a\u043e\u043d\u0446\u0435\u0440\u0442\u0435 \u0414\u0436\u0430\u0441\u0442\u0438\u043d\u0430 \u0422\u0438\u043c\u0431\u0435\u0440\u043b\u0435\u0439\u043a\u0430.<\/s><\/p>\n<h5>\u041c\u043e\u0434\u0443\u043b\u044c DHCP<\/h5>\n<p>  \u0411\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043c\u0435\u043d\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f DHCP, \u0442\u0430\u043a \u043a\u0430\u043a \u0432 \u043e\u0441\u043d\u0430\u0442\u0441\u043a\u0443 DHCP \u044f \u0437\u0430\u0433\u043b\u044f\u0434\u044b\u0432\u0430\u044e \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u0447\u0430\u0449\u0435 \u0447\u0435\u043c \u0432 DNS.\u041d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043c\u043e\u0434\u0443\u043b\u044c DHCPServer:  <\/p>\n<pre><code class=\"php\">PS [1] &gt; get-command -module DHCPserver | measure  Count    : 103 Average  : Sum      : Maximum  : Minimum  : Property : <\/code><\/pre>\n<p>  103 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u0430 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u043d\u0430\u043c \u043d\u043e\u0432\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c. \u0420\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0438, \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c, \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435.<br \/>  \u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0441\u0430\u043c\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e, \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u0439\u0434\u0435\u043c \u0432\u0441\u0435 DHCP \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0443 \u043d\u0430\u0441 \u0432 \u043b\u0435\u0441\u0443:  <\/p>\n<pre><code class=\"php\">PS [2] &gt; Get-DhcpServerInDC  IPAddress            DnsName ---------            ------- 192.168.0.1          DC01.OLOLO.com 192.168.9.1          DC01.Detroit.OLOLO.com 192.168.0.5          WDS.OLOLO.com <\/code><\/pre>\n<p>  \u042f \u0434\u0443\u043c\u0430\u044e, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441. \u043f\u043e\u0447\u0435\u043c\u0443 \u0442\u0443\u0442 \u0436\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0435\u0440\u0432\u0435\u0440 WDS? DHCP \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u0435\u0442 67 UDP \u043f\u043e\u0440\u0442 \u0438 \u0434\u043e WDS \u043e\u043d \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u0441\u044f \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c, \u043a\u0442\u043e \u0435\u0433\u043e \u0441\u043b\u0443\u0448\u0430\u043b. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0448\u0438\u0440\u043e\u043a\u043e\u0432\u0435\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043f\u043e 67 \u043f\u043e\u0440\u0442\u0443 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 DHCP. \u041d\u043e \u0442\u0430\u043a \u043a\u0430\u043a WDS \u0442\u043e\u0436\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442, \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043e\u043d \u0438 \u043f\u043e\u043f\u0430\u043b \u0432 \u043d\u0430\u0448 \u0441\u043f\u0438\u0441\u043e\u043a.<\/p>\n<p>  \u0421\u0435\u0440\u0432\u0435\u0440 \u043c\u044b \u043d\u0430\u0448\u043b\u0438, \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u043a\u0438\u0435 \u0443 \u043d\u0435\u0433\u043e \u043e\u0431\u043b\u0430\u0441\u0442\u0438. \u0423 \u043c\u0435\u043d\u044f \u043d\u0430 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 1 \u043e\u0431\u043b\u0430\u0441\u0442\u044c, \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u0441\u043f\u0438\u0441\u043e\u043a \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439  <\/p>\n<pre><code class=\"php\">PS [3]&gt; Get-DhcpServerv4Scope  ScopeId         SubnetMask      Name           State    StartRange      EndRange        LeaseDuration -------         ----------      ----           -----    ----------      --------        ------------- 192.168.0.0     255.255.255.0   First Scope    Active   192.168.0.100   192.168.0.200   8.00:00:00 <\/code><\/pre>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u043f\u0440\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0445 \u043e\u0431\u043b\u0430\u0441\u0442\u0435\u0439. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 3 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0441\u0442\u043e\u043b\u0431\u0446\u0430 (\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 IP, \u0430 \u0442\u0430\u043a \u0436\u0435 \u0432\u0440\u0435\u043c\u044f \u0430\u0440\u0435\u043d\u0434\u044b) \u043b\u0438\u0448\u043d\u0438\u043c\u0438 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0431\u0443\u0434\u0443\u0442. \u0415\u0441\u043b\u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043e\u0441\u043d\u0430\u0441\u0442\u043a\u043e\u0439, \u0442\u043e \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e.<\/p>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431 \u043e\u0431\u043b\u0430\u0441\u0442\u0438  <\/p>\n<pre><code class=\"php\">PS [4]&gt; Get-DhcpServerv4ScopeStatistics 192.168.0.0  ScopeId        Free       InUse         PercentageInUse  Reserved     Pending      SuperscopeName -------        ----       -----         ---------------  --------     -------      -------------- 192.168.0.0    87         3             3,333333         1            0 <\/code><\/pre>\n<p>  \u0412\u043e\u043e\u0431\u0449\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e! \u0415\u0441\u043b\u0438 \u043e\u0431\u043b\u0430\u0441\u0442\u0435\u0439 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430 \u0435\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c, \u0442\u043e \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442. \u041e\u0431\u043b\u0430\u0441\u0442\u0438 \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043f\u044f\u0442\u0443\u044e \u0438\u043b\u0438 \u0432\u043e\u043e\u0431\u0449\u0435, \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440 \u0438\u0437 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u0430 (Get-DhcpServerv4Scope).<br \/>  \u0417\u0434\u0435\u0441\u044c \u0441\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u044b \u0430\u0434\u0440\u0435\u0441\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0438\u0437 \u0440\u0430\u0437\u0434\u0430\u0447\u0438, \u0441\u044e\u0434\u0430 \u043d\u0435 \u043f\u043e\u043f\u0430\u0434\u0430\u044e\u0442. \u0422.\u0435. \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0440\u0430\u0437\u0434\u0430\u0435\u0442 100 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0441 192.168.0.100 \u043f\u043e 192.168.0.200) \u0438 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d \u0432 50 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 (\u0441 192.168.0.30 \u043f\u043e 192.168.0.80) \u0431\u0443\u0434\u0443\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u043a\u0430\u043a \u0430\u0434\u0440\u0435\u0441\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u0430\u0440\u0435\u043d\u0434\u0443, \u0442\u043e, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0432\u0441\u0435 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0435, \u043e\u043d\u0438 \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435, \u0438 \u0412\u044b \u043d\u0435 \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0438\u0445 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 (\u041f\u043e\u043c\u043d\u0438\u0442\u0435 \u043e\u0431 \u044d\u0442\u043e\u043c). <br \/>  \u0410 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430\u043c, \u0447\u0442\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0437\u043d\u0430\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b  <\/p>\n<pre><code class=\"php\">PS [5]&gt; Get-DhcpServerv4FreeIPAddress -ScopeID 192.168.0.0 -NumAddress 5 192.168.0.103 192.168.0.104 192.168.0.105 192.168.0.106 192.168.0.107 <\/code><\/pre>\n<p>  \u041d\u0443\u0436\u0435\u043d \u0430\u0434\u0440\u0435\u0441 \u0434\u043b\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0446\u0438\u0438 \u043d\u043e \u043d\u0435 \u0437\u043d\u0430\u0435\u0448\u044c \u043a\u0430\u043a\u043e\u0439 \u0441\u0432\u043e\u0431\u043e\u0434\u0435\u043d? \u0412\u0443\u0430\u043b\u044f! \u041c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0430\u0434\u0440\u0435\u0441\u043e\u0432, \u043d\u043e \u0438 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441\u0430 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0430. \u042d\u0442\u043e \u0431\u044b\u043b\u043e \u043b\u0438\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435, \u0432\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u043d\u0430\u0448\u0435\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438.<\/p>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435, \u043d\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0430\u043c\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u044b, \u043f\u043e\u0433\u043b\u044f\u0434\u0438\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043d\u0438\u0445  <\/p>\n<pre><code class=\"php\">PS [5]&gt; Get-DhcpServerv4Lease -ScopeId 192.168.0.0  IPAddress      ScopeId      ClientId           HostName            AddressState       LeaseExpiryTime ---------      -------      --------           --------            ------------       --------------- 192.168.0.100  192.168.0.0  00-15-5d-0f-e6-0c  PC-NEW27.OLOLO.com  Active             18.12.2012 9:43:15 192.168.0.101  192.168.0.0  00-15-5d-0f-e6-00  PC-NEW20.OLOLO.com  Active             18.12.2012 10:29:59 192.168.0.102  192.168.0.0  00-15-5d-0f-e6-02  PC-NEW25.OLOLO.com  Active             18.12.2012 10:15:45 <\/code><\/pre>\n<p>  \u0414\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u043c \u043f\u0443\u043d\u043a\u0442\u0430 \u00ab\u0410\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0430\u0434\u0440\u0435\u0441\u0430\u00bb \u0432 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043e\u0441\u043d\u0430\u0441\u0442\u043a\u0435. \u0425\u043e\u0447\u0435\u0442\u0441\u044f \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0432\u0441\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 (\u0438 \u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0446\u0438\u0438 \u0438 \u0430\u0440\u0435\u043d\u0434\u044b). \u0418 \u0434\u0430\u043b\u0435\u0435 \u043c\u044b \u044d\u0442\u043e \u0443\u0432\u0438\u0434\u0438\u043c, \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0437\u0430\u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u0443\u0435\u043c \u0430\u0434\u0440\u0435\u0441  <\/p>\n<pre><code class=\"php\">PS [6]&gt; Add-DhcpServerv4Reservation -IPAddress 192.168.0.120 -ScopeId 192.168.0.0 -ClientId 00-15-5d-0f-e6-02 -Description &quot;My computer&quot;  PS [7]&gt; Get-DhcpServerv4Lease -ScopeId 192.168.0.0  IPAddress      ScopeId      ClientId           HostName            AddressState       LeaseExpiryTime ---------      -------      --------           --------            ------------       --------------- 192.168.0.100  192.168.0.0  00-15-5d-0f-e6-0c  PC-NEW27.OLOLO.com  Active             18.12.2012 9:43:15 192.168.0.101  192.168.0.0  00-15-5d-0f-e6-00  PC-NEW20.OLOLO.com  Active             18.12.2012 10:29:59 192.168.0.120  192.168.0.0  00-15-5d-0f-e6-02  PC-NEW25.OLOLO.com  ActiveReservation <\/code><\/pre>\n<p>  \u0420\u0430\u0437 \u0443\u0436 \u0437\u0430\u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438 \u043e \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435, \u0442\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u043c \u043f\u0443\u043d\u043a\u0442\u0430 \u00ab\u0420\u0435\u0437\u0435\u0440\u0432\u0430\u0446\u0438\u0438\u00bb  <\/p>\n<pre><code class=\"php\">PS [8]&gt; Get-DhcpServerv4Reservation -ScopeID 192.168.0.0  IPAddress        ScopeId         ClientId             Name                 Type          Description ---------        -------         --------             ----                 ----          ----------- 192.168.0.120    192.168.0.0     00-15-5d-0f-e6-02    PC-New16.catalog.rsl Both          My computer <\/code><\/pre>\n<p>  \u041c\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0430\u043c \u0432\u0441\u0435 \u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0446\u0438\u0438 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 (\u0442.\u043a. \u043e\u043d\u0430 \u0442\u0430\u043c 1, \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u043b 1). \u0417\u0430\u043c\u0435\u0442\u0438\u043b \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0443\u044e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u0430. \u0415\u0441\u043b\u0438 \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u043d\u0430\u0439\u0442\u0438 \u0435\u0433\u043e \u0437\u0430\u043f\u0438\u0441\u044c \u0430\u0440\u0435\u043d\u0434\u044b, \u0443\u043a\u0430\u0437\u0430\u0432 IP, \u043e\u043d \u0435\u0435 \u043f\u043e\u043a\u0430\u0436\u0435\u0442, \u0445\u043e\u0442\u044c \u043e\u043d\u0430 \u0438 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0446\u0438\u0435\u0439.<br \/>  \u0421\u0440\u0430\u0437\u0443 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0438\u0441\u043a\u0430\u0442\u044c \u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0446\u0438\u0438 \u0438 \u0430\u0440\u0435\u043d\u0434\u044b \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043f\u0440\u043e\u0449\u0435 \u0438 \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u043d\u0435\u0436\u0435\u043b\u0438 \u0432 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435. <\/p>\n<p>  \u041d\u0430\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a, \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043c \u043e backup\u0430\u0445. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043c\u043e\u0434\u0443\u043b\u0435 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 DHCP \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0438\u0445 \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438. \u042d\u0442\u043e \u0434\u0432\u0435 \u043f\u0430\u0440\u044b \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u043e\u0432:  <\/p>\n<ul>\n<li> Export-DHCPServer &#038; Import-DHCPServer<\/li>\n<li> BackUP-DHCPServer &#038; Restore-DHCPServer<\/li>\n<\/ul>\n<p>  \u0412\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u043a \u043e\u0431\u043b\u0430\u0441\u0442\u044f\u043c IPv4 \u0438 IPv6. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u0442\u0438\u043f\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u043e\u0432 \u0432 \u044d\u0442\u043e\u043c \u043c\u043e\u0434\u0443\u043b\u0435 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 Get-DhcpServerv4Lease \u0438 Get-DhcpServerv6Lease).<\/p>\n<h5>\u041c\u043e\u0434\u0443\u043b\u044c DNS<\/h5>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 DNS \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u0432\u0430\u0436\u043d\u043e \u0445\u043e\u0442\u044f \u0438 \u043d\u0435 \u0442\u0430\u043a \u0447\u0430\u0441\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u043a\u0430\u043a DHCP. \u041d\u043e \u0432\u0441\u0435 \u0436\u0435, \u044d\u0442\u0430 \u0441\u043b\u0443\u0436\u0431\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043a \u0441\u0435\u0431\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f, \u0438 \u043e\u0431\u043e\u0439\u0442\u0438 \u0435\u0435 \u043c\u043d\u0435 \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u0430 \u0441\u043e\u0432\u0435\u0441\u0442\u044c. <br \/>  \u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e, \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0435 DNS \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Get-DNSServer. \u0412\u044b\u0432\u043e\u0434 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043c\u043d\u0435 \u0432\u044b\u0448\u043b\u043e \u043d\u0430 \u044d\u043a\u0440\u0430\u043d, \u044f \u0437\u0434\u0435\u0441\u044c \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0443, \u0442.\u043a. \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0443\u0436 \u043c\u043d\u043e\u0433\u043e \u0437\u0430 \u0440\u0430\u0437. \u041d\u043e \u0437\u0434\u0435\u0441\u044c \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u044f \u0438\u043d\u0444\u043e\u043c\u0440\u0430\u0446\u0438\u044f \u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<br \/>  \u041f\u043e\u043c\u0438\u043c\u043e \u044d\u0442\u043e\u0433\u043e, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0437\u043e\u043d\u0430\u0445 DNS  <\/p>\n<pre><code class=\"php\">PS [10]&gt; Get-DnsServerZone  ZoneName            ZoneType        IsAutoCreated   IsDsIntegrated  IsReverseLookupZone  IsSigned --------            --------        -------------   --------------  -------------------  -------- _msdcs.OLOLO.com    Primary         False           True            False                False 0.in-addr.arpa      Primary         True            False           True                 False 127.in-addr.arpa    Primary         True            False           True                 False 255.in-addr.arpa    Primary         True            False           True                 False OLOLO.com           Primary         False           True            False                False <\/code><\/pre>\n<p>  \u0417\u0430\u043c\u0435\u0442\u0438\u043c, \u0447\u0442\u043e \u0437\u0434\u0435\u0441\u044c \u0432\u044b\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u043a\u0430\u043a \u043f\u0440\u044f\u043c\u044b\u0435 \u0442\u0430\u043a \u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0435 \u0437\u043e\u043d\u044b. \u041d\u0435 \u0441\u0442\u0430\u043b\u0438 \u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u044b \u043f\u043e\u0434 \u0440\u0430\u0437\u043d\u044b\u0435 \u0437\u043e\u043d\u044b, \u0438 \u044d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0432\u0435\u0434\u044c \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u043c.<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043a\u0430\u043a\u0443\u044e \u043d\u0438\u0431\u0443\u0434\u044c \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u043d\u0430\u0448\u0435\u0439 \u0437\u043e\u043d\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0441\u0435\u0432\u0434\u043e\u043d\u0438\u043c \u0438 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432\u0441\u0435 \u043d\u0430\u0448\u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 \u043f\u0440\u044f\u043c\u043e\u0439 \u0437\u043e\u043d\u0435  <\/p>\n<pre><code class=\"php\">PS [11]&gt; Add-DnsServerResourceRecordCName -ZoneName ololo.com -Name NewAlias -HostNameAlias pc-new26.o lolo.com PS [12]&gt; Get-DnsServerResourceRecord -ZoneName: ololo.com  HostName                  RecordType Timestamp            TimeToLive  RecordData --------                  ---------- ---------            ----------  ---------- @                         A          10.12.2012 15:00:00  00:10:00    192.168.0.10 @                         NS         0                    01:00:00    pc-new26.ololo.com. @                         SOA        0                    01:00:00    [51][pc-new26.ololo.com.][hostm... _msdcs                    NS         0                    01:00:00    pc-new26.ololo.com. _gc._tcp.Default-First... SRV        10.12.2012 15:00:00  00:10:00    [0][100][3268][pc-new26.ololo.com.] _kerberos._tcp.Default... SRV        10.12.2012 15:00:00  00:10:00    [0][100][88][pc-new26.ololo.com.] _ldap._tcp.Default-Fir... SRV        10.12.2012 15:00:00  00:10:00    [0][100][389][pc-new26.ololo.com.] _gc._tcp                  SRV        10.12.2012 15:00:00  00:10:00    [0][100][3268][pc-new26.ololo.com.] _kerberos._tcp            SRV        10.12.2012 15:00:00  00:10:00    [0][100][88][pc-new26.ololo.com.] _kpasswd._tcp             SRV        10.12.2012 15:00:00  00:10:00    [0][100][464][pc-new26.ololo.com.] _ldap._tcp                SRV        10.12.2012 15:00:00  00:10:00    [0][100][389][pc-new26.ololo.com.] _kerberos._udp            SRV        10.12.2012 15:00:00  00:10:00    [0][100][88][pc-new26.ololo.com.] _kpasswd._udp             SRV        10.12.2012 15:00:00  00:10:00    [0][100][464][pc-new26.ololo.com.] DomainDnsZones            A          10.12.2012 15:00:00  00:10:00    192.168.0.10 _ldap._tcp.Default-Fir... SRV        10.12.2012 15:00:00  00:10:00    [0][100][389][pc-new26.ololo.com.] _ldap._tcp.DomainDnsZones SRV        10.12.2012 15:00:00  00:10:00    [0][100][389][pc-new26.ololo.com.] ForestDnsZones            A          10.12.2012 15:00:00  00:10:00    192.168.0.10 _ldap._tcp.Default-Fir... SRV        10.12.2012 15:00:00  00:10:00    [0][100][389][pc-new26.ololo.com.] _ldap._tcp.ForestDnsZones SRV        10.12.2012 15:00:00  00:10:00    [0][100][389][pc-new26.ololo.com.] NewAlias                  CNAME      0                    01:00:00    pc-new26.ololo.com. pc-new26                  A          0                    01:00:00    192.168.0.10 PC-NEW27                  A          23.11.2012 9:00:00   00:20:00    192.168.0.100 <\/code><\/pre>\n<p>  \u0412\u0438\u0434\u0438\u043c\u043e, \u0447\u0442\u043e \u043d\u0430\u043c \u0440\u0435\u0448\u0438\u043b\u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u0432\u0441\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u0441\u043a\u043e\u043f\u043e\u043c, \u0430 \u0443\u0436 \u043a\u0430\u043a\u0438\u0435 \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442, \u0441\u0430\u043c\u0438 \u0431\u0443\u0434\u0435\u043c \u0440\u0435\u0448\u0430\u0442\u044c.<\/p>\n<p>  \u0415\u0449\u0435 \u0438\u0437 \u00ab\u043f\u043e\u0432\u0441\u0435\u0434\u043d\u0435\u0432\u043d\u044b\u0445\u00bb \u043a\u043e\u043c\u0430\u043d\u0434 \u043d\u0430\u043c \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u044c\u0441\u044f Show-DnsServerCache \u0438 Clear-DnsServerCache. \u0417\u0434\u0435\u0441\u044c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u0438\u0437\u043b\u0438\u0448\u043d\u0438. <\/p>\n<h5>\u0412 \u043a\u043e\u043d\u0446\u0435<\/h5>\n<p>  \u0414\u0430\u043d\u043d\u044b\u0435 \u0434\u0432\u0430 \u043c\u043e\u0434\u0443\u043b\u044f \u043e\u0447\u0435\u043d\u044c \u043e\u0431\u043b\u0435\u0433\u0447\u0438\u043b\u0438 \u0436\u0438\u0437\u043d\u044c \u043c\u043d\u0435, \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u0440\u0438\u0437\u044b\u0432\u0430\u044e \u0412\u0430\u0441 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u043d\u0430 \u043d\u0438\u0445 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435. \u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u0432\u0430\u0436\u043d\u0430\u044f \u0432\u0435\u0449\u044c \u0432 \u043d\u0430\u0448\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u0435, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0435 \u043f\u043e\u043b\u0435\u043d\u0438\u0442\u0435\u0441\u044c \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043a\u0443\u0441\u043e\u0447\u0435\u043a \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u044d\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u044b.<br \/>  \u0417\u0434\u0435\u0441\u044c \u044f \u043d\u0435 \u0441\u0442\u0430\u0432\u0438\u043b \u0437\u0430\u0434\u0430\u0447\u0443 \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0441\u0435, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0432 \u044d\u0442\u0438\u0445 \u043c\u043e\u0434\u0443\u043b\u044f\u0445. \u042f \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0432\u0430\u0436\u043d\u044b\u0435 (\u043f\u043e \u043c\u043e\u0435\u043c\u0443 \u0441\u043a\u0440\u043e\u043c\u043d\u043e\u043c\u0443 \u043c\u043d\u0435\u043d\u0438\u044e) \u0438 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u044b (\u043d\u0435\u0442, \u044f \u043d\u0435 \u0443\u0441\u0442\u0430\u043b \u043f\u0438\u0441\u0430\u0442\u044c \u044d\u0442\u043e \u0441\u043b\u043e\u0432\u043e).<br \/>  \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Get-Help \u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u0442\u0430\u043c \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u0435\u0441\u0442\u044c \u0442\u0443\u0442.    \t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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=\"http:\/\/habrahabr.ru\/post\/161995\/\"> http:\/\/habrahabr.ru\/post\/161995\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u0414\u043e\u0431\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0442\u043e\u043a \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u0430\u0441\u043e\u0441\u0435\u0434\u0438.<\/p>\n<p>  \u0422\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0432 \u043d\u0430 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u0438 Windows 8 \u043c\u044b (\u0442.\u0435. \u044f) \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0435\u0435 \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0438 \u0431\u0435\u0437 \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0438 \u0441\u0440\u0430\u0437\u0443 \u043a\u0438\u043d\u0443\u043b\u0438\u0441\u044c \u0432 \u0431\u043e\u0439. \u0418\u0437 \u0432\u0441\u0435\u0445 \u043d\u043e\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0432\u0435\u0449\u0435\u0439 Windows 8 \u043c\u0435\u043d\u044f \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b PowerShell \u0432\u0435\u0440\u0441\u0438\u0438 3.<br \/>  \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430 \u0438 \u0442.\u043f. \u0432\u0435\u0449\u0435\u0439. \u0410 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043c\u044b \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u0442\u043e, \u0447\u0435\u0433\u043e \u0436\u0434\u0430\u043b\u0438 \u043c\u043d\u043e\u0433\u0438\u0435 (\u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u043d\u0435 \u043f\u0440\u0435\u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u044e) \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b \u043b\u044e\u0431\u044f\u0449\u0438\u0435 AD &#038; PowerShell, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u043c\u043e\u0434\u0443\u043b\u0438 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f DNS \u0438 DHCP.  <\/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-161995","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/161995","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=161995"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/161995\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=161995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=161995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=161995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}