Silent switch not working

Ask your PowerShell-related questions, including questions on cmdlet development!
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.
This topic is 10 months and 3 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
daniel kusnir
Posts: 75
Last visit: Tue May 23, 2023 10:50 am
Answers: 1

Silent switch not working

Post by daniel kusnir »

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 ?
User avatar
daniel kusnir
Posts: 75
Last visit: Tue May 23, 2023 10:50 am
Answers: 1

Re: Silent switch not working

Post by daniel kusnir »

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.
This topic is 10 months and 3 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked