how can I save the below script after it has run?
Script is from: Powershell Disk Usage Report
$erroractionpreference = \"SilentlyContinue\" $a = New
Creating the Excel file:
$Excel = New-Object -ComObject Excel.Application $Excel.Visible = $True ......
Closing down the Excel:
$Excel.Close() [System.Runtime.Interopservices.Marshal]::ReleaseComObject($Excel) spps -n Excel