PowerShell GUIs • Form Load
I am building a form where a user can modify their language (I`m from Canada so we have two languages). When they change their language I want the form to reload which should change the language of...
View ArticlePowerShell GUIs • Re: Form Load
Probably easiest to bring up the right form based on the locale the system is configured for.Computer\HKEY_CURRENT_USER\Control Panel\InternationalThe value of "LocaleName" is probably what you...
View ArticlePowerShell GUIs • Re: JobTracker Variable passing
Please don't post the same question in different forums.To get the data a job, you need to use the Receive-Job command. When use the JpbTracker, this should be done in the scriptblock parameter...
View ArticlePowerShell GUIs • GUI package as exe - files not found
Hi,I have created a GUI application that runs fine from within PowerShell Studio.Code in the file points to an xml parameter file and an html template at $scriptDir = Split-Path -Parent -Path...
View ArticlePowerShell GUIs • Re: GUI package as exe - files not found
When getting the path after packaging, you may find the following function helpful:Code: function Get-ScriptDirectory{<#.SYNOPSISGet-ScriptDirectory returns the proper location of the...
View ArticlePowerShell Studio • Convert exe back to psf
Hello,I have created a new multi form and created an exe from it but i lost the .psfIs there a way to open the file/project in powershell studio from the exe file? as i need to add a button and...
View ArticlePowerShell GUIs • calling Variables from child forms into job scripts
Product, version and build: PowerShell Studio 2024 Version 5.8.238Operating system: Windows 10 22h2PowerShell version(s): 5*** Please add details and screenshots as needed below. ***to preface this...
View ArticlePowerShell Studio • Re: Convert exe back to psf
There is a process to recovery lost scripts from packaged executables. You can find more information about it here:https://www.sapien.com/blog/2021/11/22/ ... -what-now/It's important to note that PSF...
View ArticlePowerShell GUIs • AD Creation Tool MFA connection Azure
I am creating a tool for our support team to be able to create and check AD users.When loading the form, I am connecting to the azure environment on which I should receive a Microsoft login screen,...
View ArticlePowerShell GUIs • Re: AD Creation Tool MFA connection Azure
[Topic was moved by moderator to PowerShell GUIs forum]Statistics: Posted by brittneyr — Wed Apr 24, 2024 12:09 pm
View ArticlePowerShell GUIs • Re: calling Variables from child forms into job scripts
Provide example form please. Helps eliminate the guess work.Statistics: Posted by apowershelluser — Wed Apr 24, 2024 3:28 pm
View ArticleWish List and Feature Requests • Re: Change Automatic Formatting of Colons...
Please try the latest service build 5.8.241 and let me know if you are still having issues.Statistics: Posted by brittneyr — Thu Apr 25, 2024 2:46 pm
View ArticleCustomer Service • Compiled EXE Switch Parameter
I have a simple problem it seems. But can’t quite put my finger on it. I am using a multi form project in Powershell_studio. Switch parameters work fine in a ps1. But if trying to use switch...
View ArticleCustomer Service • Re: Compiled EXE Switch Parameter
Switch types do not exist outside of PowerShell. If you involve an executable file, that is not a thing.Additionally, the parameters you defined for 'Main' are for that function, not the script or the...
View ArticlePowerShell GUIs • Confirmation challenge
I have a form used to create new user accounts (the idea was to make the creation process standard rather than the wild west we had before). This is working fine and does what I need. However, we have...
View ArticlePowerShell GUIs • nothing within a script block executes
Product: PowerShell Studio 2023 (64 Bit)Build: v5.8.232OS: Windows 11.0.22631PS Version(s): 5.1.22621.1, 7.4.2I have this simple code. the $statusbar text only works outside of the Invoke-Command...
View ArticlePowerShell GUIs • Re: nothing within a script block executes
I’m guessing it’s similar to a job where you shouldn’t pass form elements in the script block since it’s running in a different threadStatistics: Posted by apowershelluser — Sat Apr 27, 2024 6:45 pm
View ArticlePowerShell Studio • Write-Progress only shows in Console and not when...
Product: PowerShell Studio 2024 (64 Bit)Build: v5.8.241OS: Windows 10.0.19045PS Version(s): 5.1.19041.1, 7.3.4, 7.3.4Not sure when this stopped working, but its not showing any moreCode:...
View ArticlePowerShell GUIs • Re: Confirmation challenge
I use an old com object to display popups:Code: $wshell = New-Object -ComObject Wscript.Shell$wshell.Popup($Message, $Time, $Title, $ButtonValue + $iconValue)Google that and you will get the object...
View ArticlePowerShell Studio • Re: Write-Progress only shows in Console and not when...
We are looking into this and will get back to you soon.Statistics: Posted by brittneyr — Mon Apr 29, 2024 7:25 am
View Article