HI All
I have script that does ping and get the information from hundreds of computer at the end, output to a csv file with the following commnad:
if ($ResolveNames) { $FormattedPingResults | Sort-Object SuccessPercentage | Select-Object NameInList, NameFromDNS, IPAddressListFromDNS, SuccessPercentage, LastPingStatus, PingedFrom | Export-Csv -Path $OutputPath -NoTypeInformation }
else { $FormattedPingResults | Sort-Object SuccessPercentage | Select-Object NameInList, SuccessPercentage | Export-Csv -Path $OutputPath -NoTypeInformation }
It is a very complex script for me as I am a novice but wondering at this end part, how can I create that csv file with the computer name which are only 100 success rate. It has option for success rate as 0 or 100.
I would appreciate in advance. I did not post the whole script as it is very long. Hope one of you will reply.