With the script I Have, it runs a simple loop and returns some values, but they are all returned in one csv or html file. How can I tell PS to return each iteration in a separate file?
Command to run the file I am using is
Get-ComputerInfo.ps1 | export-csv outputfile.csv
or
Get-ComputerInfo.ps1 | ConvertTo-Html | out-file bleh.html