Just use this syntax:
powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File \\local\folder1\folder2\folder3\scripts\Start-PowershellScript.ps1
First create a program with program wizard without this ugly command line, just select script name normally. After the program has been created, in properties panel put the command line.
Assinar:
Postar comentários (Atom)
Decorator Powershell Design Patterns
Powershell Design Patterns Decorator ```powershell # Classe base 'Beverage' class Beverage { [string]$description = "Unkno...
-
At search bar type: proxy Click on network then put your network settings:
-
Just create a normal collection and do not put any workstations inside. After, select query and point to your configuration baseline, like t...

Nenhum comentário:
Postar um comentário