PowerShell GUIs • Dealing with common functions
We have two files that store common functions.One is a psm1 file used by scheduled scripts and is stored as a module in the usual module location.AIUI I cannot use that for functions I compile with PS...
View ArticlePowerShell GUIs • Re: Dealing with common functions
Just found the cache editor. All good.Wish there was a way to include a normal psm1 module when compiling PS studio packages.Statistics: Posted by Lembasts — Thu Mar 14, 2024 9:26 pm
View ArticlePowerShell Studio • get-service startuptype returns nothing
Product: PowerShell Studio 2024 (64 Bit)Build: v5.8.238OS: Windows 11.0.22631PS Version(s): 5.1.22621.1, 7.2.18PSS seems to drop the StartupType property from get-service cmdlet. It will return...
View ArticlePowerShell Studio • Re: get-service startuptype returns nothing
Did some more testing and found that if I wrapped the service inside PWSH it does return the results..ie..pwsh -command {foreach ($Service in get-service | Select-Object -property Name, Startuptype,...
View ArticlePowerShell Studio • Error: Writing scripts to bin\x64\my.exe failed, error...
To help you better we need some information from you.*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we...
View ArticlePowerShell Studio • Re: Error: Writing scripts to bin\x64\my.exe failed,...
Error code 87 (you can find quite some references here in the forum) indicates "Parameter incorrect" which is basically a catch all error in Windows.It can point to corrupt file system or simply a...
View ArticlePowerShell GUIs • Datagridview painting after function Set-ControlTheme
In the function Set-ControlTheme, I added thses vars and then added to the elseif ($target -is [System.Windows.Forms.DataGridView] to paint my dgvCode: if ($Theme -eq...
View ArticlePowerShell • Need to stop and display error if user exists
I have a form I created that creates user objects in AD. As part of it I added a button to check if the proposed samaccountname already exists, if it does it displays it in a text box. However, as...
View ArticlePowerShell • Re: Need to stop and display error if user exists
like this ?Code: $button1_Click={if ((Get-ADUser -Filter "sAMAccountName -eq '$($User_ID_Input_Box.Text)'")){$User_ID_Input_Box.Text = "User already exists"return}else{$User_ID_Input_Box.Text = "10...
View ArticlePowerShell GUIs • Re: Datagridview painting after function Set-ControlTheme
moved from $datagridview1_DataBindingComplete to a $datagridview1_CellFormatting event and it works as expectedStatistics: Posted by apowershelluser — Tue Mar 19, 2024 10:19 pm
View ArticlePowerShell Studio • Build process triggers alerts from Windows Defender
Product, version and build: PowerShell Studio 2023 (64 Bit) Build: v5.8.221Operating system: Windows 10 Enterprise (64 Bit) Build: v10.0.22621.0PowerShell version(s): 5.1.22621.2506Hi, this morning I...
View ArticlePowerShell Studio • Re: WebView2 & PowerShell Studio Problematic
Changes have been made to the next service build regarding the WebView2 control. I don't have an ETA on when that will be released, but I will update you when I have more information.Statistics:...
View ArticlePowerShell Studio • Re: Build process triggers alerts from Windows Defender
I know these type of things are always jarring. Below is my standard reply on the subject for completeness, but please read on.We have no control over your script, we cannot access your computer and...
View ArticlePowerShell GUIs • Download File With Progress Bar Overlay
Greetings to all the members of the community, I turn to your help since I have searched the web and I have not been able to find a solution, I would like help or an example of how I could download a...
View ArticleWish List and Feature Requests • Re: Azure / Intune
Hello, I can't find where to send the request. Can you guide me?Statistics: Posted by herman251 — Thu Mar 21, 2024 7:08 pm
View ArticlePowerShell Studio • Virus warning installing Powershell Studio 2024
To help you better we need some information from you.*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we...
View ArticlePowerShell Studio • Re: Virus warning installing Powershell Studio 2024
Statistics: Posted by TVCDeveloper — Fri Mar 22, 2024 6:33 pm
View ArticlePowerShell Studio • Search history
To help you better we need some information from you.*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we...
View ArticleWish List and Feature Requests • Change Automatic Formatting of Colons For...
This is one of those things that isn't really a big deal but I'm hoping that, for that reason, it's one you guys might be willing to address. Whenever the PowerShell Studio editor's automatic...
View ArticlePowerShell • Create ACL groups
I am not an expertI copied folders from two different servers in different domain .Unfortunately, the folders on the destination server cannot be reached from the users because the ACL groups copied...
View Article