Question : Powershell script screen output

I am new to poweshell.  This script works however I get no console output when the script is executed. How can I get this script to output to console?
Code Snippet:
1:
2:
3:
4:
$DeleteDate = -5
$Path = "c:\test\*.txt" , "c:\test 2\*.txt"
$xDays = (Get-Date).addDays($DeleteDate)
Get-ChildItem $Path | where {$_.lastWriteTime -le $xDays} | Remove-Item -force
Open in New Window Select All

Answer : Powershell script screen output

or just add -verbose to remove-item
Random Solutions  
 
programming4us programming4us