Jump to content

modem7

Members
  • Posts

    4
  • Joined

  • Last visited

Reputation

2 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. That seems to be working as expected for me! Thank you guys for your quick efforts!
  2. Heya, Thankfully quite a simple setup (I only really use powershell to SSH into machines I don't normally SSH into). Opening via Windows terminal which is pointing to: %SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe Profile is on an NVME drive in my user directory: PS C:\Users\Alex> $PROFILE C:\Users\Alex\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 I'm measuring speed via the command: measure-script -Path $PROFILE Which is available by installing PSProfiler (obvious how to do this, but gonna run through all the steps regardless): Install-Module -Name PSProfiler --- With PUP disabled: PS C:\Users\Alex> measure-script -Path $PROFILE C:\Users\Alex\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 Count Line Time Taken Statement ----- ---- ---------- --------- 1 1 00:00.0360372 ssh-manager completion powershell | out-string | invoke-expression 0 2 00:00.0000000 # chocolatey profile 1 3 00:00.0000624 $chocolateyprofile = "$env:chocolateyinstall\helpers\chocolateyprofile.psm1" 0 4 00:00.0000000 if (test-path($chocolateyprofile)) { 1 5 00:00.0001841 import-module "$chocolateyprofile" 0 6 00:00.0000000 } 0 7 00:00.0000000
  3. Heya, Yes, that's exactly it. Once I disable the malware/pup, the powershell issue instantly gets resolved and the profile loads under 1 second.
  4. For some odd reason, lately malwarebytes is causing Powershell to take a long time to load. Not quite sure where to start in terms of resolving. With malwarebytes enabled: Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 Loading personal and system profiles took 66352ms. Without: Message doesn't come up, but looks like around 400ms when running measure-script -Path $PROFILE mbst-grab-results.zip
Back to top
×
×
  • Create New...

Important Information

This site uses cookies - We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.