You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to delete the PS_Transcripts folder in the VM-Remove-DesktopFiles function (called by VM-Clean-Up) as I want to delete any log files (including PowerShell logs) when executing this function. However, as explained in #754, deleting PS_Transcripts while Powershell is open is an issue as VM-Remove-DesktopFiles/VM-Clean-Up are PowerShell functions. @emtuls any ideas how we could do this? I wouldn't like to complicate it the logic/code too much, but it would be nice to have.
The text was updated successfully, but these errors were encountered:
One relatively simple idea is to delete files in the directory if deleting the whole directory is not possible, this may delete part of the files in PS_Transcripts
@day1player some FLARE-VM users seem to find the PS_Transcripts folder in the Desktop useful. We want to keep it, but deleting the installation logs by running VM-Clean-Up after the installation.
Details
I would like to delete the
PS_Transcripts
folder in theVM-Remove-DesktopFiles
function (called byVM-Clean-Up
) as I want to delete any log files (including PowerShell logs) when executing this function. However, as explained in #754, deletingPS_Transcripts
while Powershell is open is an issue asVM-Remove-DesktopFiles
/VM-Clean-Up
are PowerShell functions. @emtuls any ideas how we could do this? I wouldn't like to complicate it the logic/code too much, but it would be nice to have.The text was updated successfully, but these errors were encountered: