I have a question about PS module path. When I get the PSModulePath on my server, it will show as below, with an UNC path. I want to remove the UNC path forever because the yellow search process bar will be triggered automatically when I run my cmdlet on the console. Is this possible?
Here is my cmdlet and result: PS C:\Users\ben> $env:PSModulePath -split ";"