Recent content by markmaz

  1. M

    Saving output from cmd while executing a loop

    Trying to dump the contents of this command into a file Get-Service -DisplayName Corr* | ForEach-Object{Write-Host $_.Status : $_.Name} We get the output to the screen Stopped : ???? Stopped : ??? but can't get the output written to a file. Been searching the forum but haven't come across...