Skip to content

Powershell Window Shown at Login #12

@nlvw

Description

@nlvw

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions