{"id":1432,"date":"2016-06-14T15:34:32","date_gmt":"2016-06-14T13:34:32","guid":{"rendered":"http:\/\/blog.langlitz-it.de\/?p=1432"},"modified":"2023-07-28T17:18:15","modified_gmt":"2023-07-28T15:18:15","slug":"powershell-aquivalente-netzwerkbefehle-zu-ipconfig-ping-nslookup-traceroute-route-netstat","status":"publish","type":"post","link":"https:\/\/www.langlitz-it.de\/?p=1432","title":{"rendered":"PowerShell &#8211; \u00c4quivalente Netzwerkbefehle zu IPConfig, Ping, NSLookUp, TraceRoute, Route, NetStat"},"content":{"rendered":"<p>Die altbew\u00e4hrten <em>DOS Commands<\/em> wie<em> IPConfig<\/em>, <em>Ping<\/em>, etc. haben nat\u00fcrlich auch ihre entsprechenden gro\u00dfen PowerShell Br\u00fcder. <em>IPConfig<\/em> zum Beispiel war (und ist) ein brauchbares Tool, mit dem aber nat\u00fcrlich keine objektorientierte Weiterverarbeitung der erhaltenen Information m\u00f6glich ist.<\/p>\n<p>Hier zun\u00e4chst eine Auflistung der Befehle und CMDLets, auf die ich im Anschluss n\u00e4her eingehe.<\/p>\n<ul>\n<li><em><strong><u>DOS Command<\/u><\/strong><\/em>\n<ul>\n<li><em><strong><u>CMDLet<\/u><\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li><em><strong>IPConfig<\/strong><\/em>\n<ul>\n<li><em><strong>Get-NetIPConfiguration<\/strong><\/em><\/li>\n<li><em><strong>Get-NetIPAddress<\/strong><\/em><\/li>\n<li><em><strong>Get-NetAdapter<\/strong><\/em><\/li>\n<li><strong><em>Clear-DNSCache ersetzt ipconfig \/flushdns<\/em><\/strong><\/li>\n<li><strong><em>Register-DnsClient ersetzt ipconfig \/registerdns<\/em><\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li><em><strong>Ping, Tracert<\/strong><\/em>\n<ul>\n<li><em><strong>Test-NetConnection<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li><em><strong>NSLookUp<\/strong><\/em>\n<ul>\n<li><em><strong>Resolve-DNSName<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li><em><strong>Route<\/strong><\/em>\n<ul>\n<li><em><strong>Get-NetRoute<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li><em><strong>NetStat<\/strong><\/em>\n<ul>\n<li><em><strong>Get-NetTCPConnection<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>IPConfig<\/h2>\n<h4>Get-NetIPConfiguration<\/h4>\n<p><a href=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2718\" src=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_1.jpg\" alt=\"\" width=\"511\" height=\"363\" srcset=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_1.jpg 511w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_1-300x213.jpg 300w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_1-422x300.jpg 422w\" sizes=\"(max-width: 511px) 100vw, 511px\" \/><\/a><\/p>\n<h4>Get-NetIPAddress<\/h4>\n<p><a href=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2710\" src=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_2.jpg\" alt=\"\" width=\"850\" height=\"213\" srcset=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_2.jpg 850w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_2-300x75.jpg 300w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_2-768x192.jpg 768w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_2-500x125.jpg 500w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2711\" src=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_3.jpg\" alt=\"\" width=\"645\" height=\"120\" srcset=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_3.jpg 645w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_3-300x56.jpg 300w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_3-500x93.jpg 500w\" sizes=\"(max-width: 645px) 100vw, 645px\" \/><\/a><\/p>\n<h4>Get-NetAdapter<\/h4>\n<p><a href=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2712\" src=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_4.jpg\" alt=\"\" width=\"626\" height=\"80\" srcset=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_4.jpg 626w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_4-300x38.jpg 300w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_4-500x64.jpg 500w\" sizes=\"(max-width: 626px) 100vw, 626px\" \/><\/a><\/p>\n<h2>Ping, Tracert<\/h2>\n<h4>Test-NetConnection<\/h4>\n<p><a href=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2713\" src=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_5.jpg\" alt=\"\" width=\"379\" height=\"130\" srcset=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_5.jpg 379w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_5-300x103.jpg 300w\" sizes=\"(max-width: 379px) 100vw, 379px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2714\" src=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_6.jpg\" alt=\"\" width=\"538\" height=\"159\" srcset=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_6.jpg 538w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_6-300x89.jpg 300w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_6-500x148.jpg 500w\" sizes=\"(max-width: 538px) 100vw, 538px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2715\" src=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_7.jpg\" alt=\"\" width=\"448\" height=\"253\" srcset=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_7.jpg 448w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_7-300x169.jpg 300w\" sizes=\"(max-width: 448px) 100vw, 448px\" \/><\/a><\/p>\n<h2>NSLookUp<\/h2>\n<h4>Resolve-DNSName<\/h4>\n<p><a href=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_8.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2716\" src=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_8.jpg\" alt=\"\" width=\"523\" height=\"438\" srcset=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_8.jpg 523w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_8-300x251.jpg 300w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_8-358x300.jpg 358w\" sizes=\"(max-width: 523px) 100vw, 523px\" \/><\/a><\/p>\n<h2>Route<\/h2>\n<h4>Get-NetRoute<\/h4>\n<p><a href=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_9.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2717\" src=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_9.jpg\" alt=\"\" width=\"856\" height=\"101\" srcset=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_9.jpg 856w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_9-300x35.jpg 300w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_9-768x91.jpg 768w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_9-500x59.jpg 500w\" sizes=\"(max-width: 856px) 100vw, 856px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_10.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2719\" src=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_10.jpg\" alt=\"\" width=\"853\" height=\"138\" srcset=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_10.jpg 853w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_10-300x49.jpg 300w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_10-768x124.jpg 768w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_10-500x81.jpg 500w\" sizes=\"(max-width: 853px) 100vw, 853px\" \/><\/a><\/p>\n<h2>NetStat<\/h2>\n<h4>Get-NetTCPConnection<\/h4>\n<p><a href=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_11.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2720\" src=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_11.jpg\" alt=\"\" width=\"763\" height=\"421\" srcset=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_11.jpg 763w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_11-300x166.jpg 300w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_11-500x276.jpg 500w\" sizes=\"(max-width: 763px) 100vw, 763px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_12.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2709\" src=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_12.jpg\" alt=\"\" width=\"881\" height=\"87\" srcset=\"https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_12.jpg 881w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_12-300x30.jpg 300w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_12-768x76.jpg 768w, https:\/\/www.langlitz-it.de\/wp-content\/uploads\/2023\/04\/Net_Commands_12-500x49.jpg 500w\" sizes=\"(max-width: 881px) 100vw, 881px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Die altbew\u00e4hrten DOS Commands wie IPConfig, Ping, etc. haben nat\u00fcrlich auch ihre entsprechenden gro\u00dfen PowerShell Br\u00fcder. IPConfig zum Beispiel war (und ist) ein brauchbares Tool, mit dem aber nat\u00fcrlich keine objektorientierte Weiterverarbeitung der erhaltenen Information m\u00f6glich ist. Hier zun\u00e4chst eine &hellip; <a href=\"https:\/\/www.langlitz-it.de\/?p=1432\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[610,609,608,613,614,607,602,603,604,612,605,611,606],"_links":{"self":[{"href":"https:\/\/www.langlitz-it.de\/index.php?rest_route=\/wp\/v2\/posts\/1432"}],"collection":[{"href":"https:\/\/www.langlitz-it.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.langlitz-it.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.langlitz-it.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.langlitz-it.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1432"}],"version-history":[{"count":9,"href":"https:\/\/www.langlitz-it.de\/index.php?rest_route=\/wp\/v2\/posts\/1432\/revisions"}],"predecessor-version":[{"id":2731,"href":"https:\/\/www.langlitz-it.de\/index.php?rest_route=\/wp\/v2\/posts\/1432\/revisions\/2731"}],"wp:attachment":[{"href":"https:\/\/www.langlitz-it.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.langlitz-it.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.langlitz-it.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}