We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As of Commit "f8f3ce77ddd042ef809a1e1b5b3d74f170ede8fb" the scheduled task triggers a powershell window popups while the script runs.
This can, and in my opinion should, be fixed by adding -nologo -windowstyle Hidden to the action arguments.
-nologo -windowstyle Hidden
Program/script: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Add arguments: -ExecutionPolicy Bypass -nologo -windowstyle Hidden -File "C:\Users\exampleuser\WSL-Network-Fix\Register-DeterministicNetwork.ps1" -NetworkType "WSL" -GatewayAddress "192.168.100.1" -NetworkAddress "192.168.100.0/24"
-ExecutionPolicy Bypass -nologo -windowstyle Hidden -File "C:\Users\exampleuser\WSL-Network-Fix\Register-DeterministicNetwork.ps1" -NetworkType "WSL" -GatewayAddress "192.168.100.1" -NetworkAddress "192.168.100.0/24"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As of Commit "f8f3ce77ddd042ef809a1e1b5b3d74f170ede8fb" the scheduled task triggers a powershell window popups while the script runs.
This can, and in my opinion should, be fixed by adding
-nologo -windowstyle Hidden
to the action arguments.Program/script:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Add arguments:
-ExecutionPolicy Bypass -nologo -windowstyle Hidden -File "C:\Users\exampleuser\WSL-Network-Fix\Register-DeterministicNetwork.ps1" -NetworkType "WSL" -GatewayAddress "192.168.100.1" -NetworkAddress "192.168.100.0/24"
The text was updated successfully, but these errors were encountered: