Hi All,
How I can export the if condition test result to excel file. This script checking the If condition for multiple servers
foreach($server in $servers)
{
If( test-connection -quiet -computer $server) * How can export the test condition value to a csv file *
{
Action Items on the script
}
}