Apr 15 2020 06:08 AM
Hello,
We have noticed that Powershell is logging files (Office365Powershell_20200316090129.txt) at C:\Users\<alias>\AppData\Local\Microsoft\Office365\Powershell. These seems to be generated by Powershell for diagnostic purposes.
How can we disable generation of these files? I am hoping to run some cmdlet or set some parameter to achieve the same.
Thank you,
Bhavpreet Bains
Apr 15 2020 09:09 AM
That's only for the MSOnline module, not PowerShell in general. But no, afaik there is no way to disable the logs.