I would like to output variables and values out in a PowerShell script by setting up flags and seeing the data matriculate throughout the script.
How would I do thi
Powershell has an alias mapping echo to Write-Output, so:
Write-Output
echo "filesizecounter : $filesizecounter"