Hello
i upgraded to latest 5.8.221 build. I created simple script and added support for switches : $silentswitch = $Commandline.ToLower()
when i compile script, silent switches no longer works. older versions worked just fine. do you know if something changed ?
Silent switch not working
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- daniel kusnir
- Posts: 75
- Last visit: Tue May 23, 2023 10:50 am
Re: Silent switch not working
please disregard this post.
i somehow selected Microsoft Windows Powershell (commandline) instead of SAPIEN PowerShell V5 Host ( Commandline ) when compiling the scripts. there is a big difference as it seems many features does not work that way.
i somehow selected Microsoft Windows Powershell (commandline) instead of SAPIEN PowerShell V5 Host ( Commandline ) when compiling the scripts. there is a big difference as it seems many features does not work that way.