I was wondering if somebody could help me diagnose the insane long time it takes for powershell to open up. When I open powershell, I get the powershell message but it doesn't give me the command line prompt until exactly 22 seconds later every time:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
Wait 22 seconds
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\My Name Here> _
This also happened with Windows Defender but I noticed with Windows defender, if I disabled realtime protection, powershell would open instantly. I thought maybe Kaspersky would have better realtime protection (I'm a developer so I use powershell a lot) but it seems Kaspersky is also taking forever to scan this.
Is there a way for me to whitelist this or at least see which files it is scanning so that I can maybe clean it up or something? Maybe modules or scripts?
Thanks in advance.
Featured Replies
Please sign in to comment
You will be able to leave a comment after signing in
Hi there.
I was wondering if somebody could help me diagnose the insane long time it takes for powershell to open up. When I open powershell, I get the powershell message but it doesn't give me the command line prompt until exactly 22 seconds later every time:
Wait 22 seconds
This also happened with Windows Defender but I noticed with Windows defender, if I disabled realtime protection, powershell would open instantly. I thought maybe Kaspersky would have better realtime protection (I'm a developer so I use powershell a lot) but it seems Kaspersky is also taking forever to scan this.
Is there a way for me to whitelist this or at least see which files it is scanning so that I can maybe clean it up or something? Maybe modules or scripts?
Thanks in advance.