Tag Info

New answers tagged

1

Try creating a script callAuditExport.ps1 that calls your current script file like this Start-Process powershell.exe -ArgumentList "-file C:\MyScript.ps1", "Arg1", "Arg2" This will cause a new Powershell process to run, then close when its done executing. It should free up the memory allocation when its done that way.



Top 50 recent answers are included