Simplify the lnk

Due to Antivirus false detection, testing a simplified command:
From:
%WinDir%\System32\WindowsPowerShell\v1.0\powershell.exe -ep Bypass -w h -C "& {gci -R | Unblock-File; ".\WAU\Gui.ps1"}"
To:
%WinDir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -File .\WAU\Gui.ps1
pull/569/head
romanitho 2024-02-19 17:51:48 +01:00
parent 73e792662b
commit 4e863340c0
2 changed files with 5 additions and 0 deletions

Binary file not shown.

View File

@ -9,6 +9,11 @@ This script will:
- Install apps with Winget from a custom list file (apps.txt) or directly from popped up default list. - Install apps with Winget from a custom list file (apps.txt) or directly from popped up default list.
#> #>
<# UNBLOCK FILES #>
Get-ChildItem -R | Unblock-File
<# APP INFO #> <# APP INFO #>
# import Appx module if the powershell version is 7/core # import Appx module if the powershell version is 7/core