Free Tools • PowerShell Help
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 • Running a script during MSI install
I hope this is the right section to post this in.I'm having trouble running a script successfully during the MSI installation process.My goal is to import a set of modules as a custom action during...
View ArticleWish List and Feature Requests • Re: Azure / Intune
Looking more into Azure support is on our to-do list.As for Intune, please submit a feature request with as much detail as possible here:https://www.sapien.com/requestsStatistics: Posted by brittneyr...
View ArticleFree Tools • Re: PowerShell Help
It doesn't automatically import, you have to tell it what you want.Did you get any error messages? Could you upload a helpfile that failed to import?Statistics: Posted by Alexander Riedel — Mon Mar...
View ArticleVersionRecall • Version Recall 2024 DateStamps on Files with Same Date
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 ArticleVersionRecall • Re: Version Recall 2024 DateStamps on Files with Same Date
That is pretty strange. I will investigate. How is the creation date?Statistics: Posted by Alexander Riedel — Mon Mar 11, 2024 2:02 pm
View ArticlePowerShell GUIs • Dynamically create buttons with on click events
Hi, I want to create a GUI which displays several buttons to launch an Application.We have an App with several different systems (6 or more Desktop Icons). I want to hide the apps from desktop and...
View ArticlePowerShell GUIs • Re: Dynamically create buttons with on click events
[Topic was moved to PowerShell GUIs forum by moderator]Statistics: Posted by brittneyr — Tue Mar 12, 2024 6:57 am
View ArticlePowerShell • Re: Running a script during MSI install
I am not sure what your expectation is here. Import-Module is a session specific thing. So it will import that module in the script that runs as a custom in the installer. It has no lasting effect on...
View ArticlePowerShell Studio • Message: PowerShell cannot be instantiated
A packaged script throws an exception when executed. Message details:The type initializer for 'System.Net.ServicePointManager' threw an exception.The project runs fine as an exported script. See the...
View ArticlePowerShell Studio • Re: Message: PowerShell cannot be instantiated
Please look at the following and see if this applies to your issue:https://superuser.com/questions/1399906 ... nager-threIf this is not the case, can you upload your script and psbuild file...
View ArticlePowerShell Studio • Unable to Install 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: Unable to Install PowerShell Studio 2024
Please try the following tool to remove your previous installation of PowerShell Studio:https://sapien.s3.us-east-1.amazonaws.c ... lFix64.exeStatistics: Posted by brittneyr — Thu Mar 14, 2024 7:33 am
View ArticlePowerShell 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 Article