Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Export If test condition result to csv file

$
0
0

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

}

}


Viewing all articles
Browse latest Browse all 6937

Trending Articles