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
The Write-host work fine.
$Filesize = (Get-Item $filepath).length; Write-Host "FileSize= $filesize";