Powershell – Ping-MultipleTarget

https://polyploid.net/blog/?p=chphpts1 ICMP 패킷을 이용하여 Ping 결과를 bool 로 리턴하는 Function을 작성하고, 이를 이용하여 지정된 범위 의 모든 주소에 Ping을 시도하여 Host들의 상태를 확인 한다.

https://merangue.com/5njvl7rovw

param ( [Parameter(Mandatory=$true)] $BaseIp, $Start = 1, $End = 255, $Timeout = 100 ) Function Ping-Target { param ( [Parameter(Mandatory=$true)] [string]$HostNameOrAddress, [int]$Timeout = 100 ) $pingObject = New-Object System.Net.NetworkInformation.Ping $pingReply = $pingObject.Send($HostNameOrAddress, $Timeout) return $pingReply.Status -eq [System.Net.NetworkInformation.IPStatus]::Success } $Start..$End | %{ $BaseIp + $_ } | %{ if ($(Ping-Target $_ $Timeout)) { Write-Host $($_ + " .. Success") -ForegroundColor Green } else { Write-Host $($_ + " .. Fail") -ForegroundColor Red } }

Ping-MultipleTarget

https://homeupgradespecialist.com/fifoja2 Ping-MultipleTarget Sample.

Alprazolam Online Sales https://homeupgradespecialist.com/th63bh9vd

답글 남기기

https://aiohealthpro.com/937qu1v7 이메일 주소는 공개되지 않습니다. https://udaan.org/xi4od63jpj5.php 필수 필드는 https://nedediciones.com/uncategorized/044upr4u *로 표시됩니다

https://blog.extraface.com/2024/08/07/a9f0h0f

Cheap Xanax Bars You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

https://aiohealthpro.com/f93l4651i

https://nedediciones.com/uncategorized/4a81kxr4j

https://sugandhmalhotra.com/2024/08/07/8ighmnvk

https://oevenezolano.org/2024/08/p7vhhvfy

https://www.clawscustomboxes.com/jpbkq4zk

https://sugandhmalhotra.com/2024/08/07/flvg0o9s5

Xanax Uk Online

https://transculturalexchange.org/x2xhynu2yfr

https://blog.extraface.com/2024/08/07/p27xzje

https://solomedicalsupply.com/2024/08/07/uk1refp 이 사이트는 스팸을 줄이는 아키스밋을 사용합니다. 댓글이 어떻게 처리되는지 알아보십시오.