Forum Discussion
hexler
Apr 20, 2022Copper Contributor
Hello, I ran into a strange problem when I was using PowerShell 5.1
I want to use the following command: Call PowerShell script through CMD C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe /c D:\\test.ps1 -test But I ran into a very strange ...
Apr 21, 2022
hexler Ok, let's try and zoom in to the real problem 😉 If you start PowerShell on the server, just start it without loading a script. How long does that take? What does the script do? And when you already have PowerShell running, it is faster if you start the script? (Should be faster because already in memory)