Is there a setting (avast internet security) where I can run the vs at night and have the computer turn off after scan is complete?
Yep on this page
Select the Scan computer > Scan now
Under full system scan select settings…
Go down to scheduling on the left
Set your times and everything then select shut down the system on completion of scans
got it! thanks