{"id":35,"date":"2021-12-19T13:09:54","date_gmt":"2021-12-19T13:09:54","guid":{"rendered":"https:\/\/hioksuz.com\/en\/?p=35"},"modified":"2021-12-30T08:47:07","modified_gmt":"2021-12-30T08:47:07","slug":"how-to-make-ping-script-with-powershell","status":"publish","type":"post","link":"https:\/\/hioksuz.com\/en\/2021\/12\/19\/how-to-make-ping-script-with-powershell\/","title":{"rendered":"How to make ping script with powershell"},"content":{"rendered":"\n<p>Easy ping command is &#8220;ping IPadress&#8221; but this command always doesn&#8217;t satisfy every need, If you want multiple to ping, script is below:<\/p>\n\n\n\n<p>script <a href=\"https:\/\/hioksuz.com\/en\/download\/ping_multiple_spesific_address.rar\">download<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">those scripts written by Halil \u0130brahim \u00d6KS\u00dcZ<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">first scripts start from 0, counter one by one to 1<\/h3>\n\n\n\n<p>for ($i=0; $i-lt2; $i++)<br>{<\/p>\n\n\n\n<p>ping 1.1.1.$i<br>}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">second scripts start from 1, counter one by one to 2<\/h3>\n\n\n\n<p>for ($i=1; $i-le2; $i++)<br>{<\/p>\n\n\n\n<p>ping 1.1.1.$i<br>}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">third scripts start from 2, counter two by two to 4<\/h3>\n\n\n\n<p>for ($i=2; $i-le4)<br>{<\/p>\n\n\n\n<p>ping 1.1.1.$i<br>$i=$i+2<br>}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">fifth scripts first of all $z variable start from 1, counter one by one to 2 and than $i variable start from 1, counter one by one to 2<\/h3>\n\n\n\n<p>for ($i=1; $i-le2; $i++)<br>{<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>for ($z=1; $z-le2; $z++)\n{\n\nping 1.1.$i.$z\n\n}<\/code><\/pre>\n\n\n\n<p>}<\/p>\n\n\n\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Easy ping command is &#8220;ping IPadress&#8221; but this command always doesn&#8217;t satisfy every need, If you want multiple to ping, script is below: script download those scripts written by Halil \u0130brahim \u00d6KS\u00dcZ first scripts start from 0, counter one by one to 1 for ($i=0; $i-lt2; $i++){ ping 1.1.1.$i} second scripts start from 1, counter [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6,5,4,3],"class_list":["post-35","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-array-ping-powershell","tag-multiple-ping-with-powershell","tag-powershell-multiple-ping","tag-powershell-ping"],"_links":{"self":[{"href":"https:\/\/hioksuz.com\/en\/wp-json\/wp\/v2\/posts\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hioksuz.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hioksuz.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hioksuz.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hioksuz.com\/en\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":6,"href":"https:\/\/hioksuz.com\/en\/wp-json\/wp\/v2\/posts\/35\/revisions"}],"predecessor-version":[{"id":47,"href":"https:\/\/hioksuz.com\/en\/wp-json\/wp\/v2\/posts\/35\/revisions\/47"}],"wp:attachment":[{"href":"https:\/\/hioksuz.com\/en\/wp-json\/wp\/v2\/media?parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hioksuz.com\/en\/wp-json\/wp\/v2\/categories?post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hioksuz.com\/en\/wp-json\/wp\/v2\/tags?post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}