Hi, good day!
- When was the last time it worked properly?
- Have you made any changes to your computer recently?
That PowerShell command itself is usually harmless. The important part is figuring out what’s launching PowerShell every 5–6 minutes.
The easiest way to trace it is with Process Explorer from Microsoft:
https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer?utm_source=chatgpt.com
Run it as Administrator
Press Ctrl + F and search for powershell.exe
Wait for the loading cursor issue to happen
Check the parent process of PowerShell
That usually points directly to the culprit (OEM software, Widgets, Xbox services, shell extensions, etc.).
You can also perform a Clean Boot of Windows
Determine whether a background program or a software conflict is causing the issue.
Press Windows key+R to open Run then type: msconfig
Press Enter
Select System Configuration > go to the Services tab.
(Important) Select and make sure to put a check mark on "Hide all Microsoft services"
Click Disable all.
Go to Startup tab > Open Task Manager > Disable all the unnecessary services running there. Restart your computer.
Please check the support article at the link below for more details.
I look forward to your update and am happy to continue working with you until the issue is resolved. If you find the answer helpful, please click "Accept Answer" and consider upvoting it. Otherwise, please keep me posted by clicking "Add comment" below instead of selecting Yes or No.