I have a Windows 2016 Domain Controller and everytime the server is patched and restarted, a powershell process starts and consumes 100% of memory (CPU is OK).
The only thing I can do is to kill the process (if I can RDP) or reboot the server and jump onto the server quickly before the process starts.
How do I find out what kicked off the powershell process to and find out what it is doing?
Thanks.