Search found 399 matches

by mxtrinidad
Wed Dec 11, 2019 10:57 am
Forum: PowerShell GUIs
Topic: Powershell GUI, MSI - uninstall all previous versions?
Replies: 5
Views: 724

Re: Powershell GUI, MSI - uninstall all previous versions?

If you really need to use the msiexec.exe providing the GUID, then you can use the following PowerShell code to get the installed application GUID: ## - List all Installed Apps GUID: $appAll = Get-WmiObject -Class Win32_Product; $appAll | select name, IdentifyingNumber | Sort-Object Name; ## - Sampl...
by mxtrinidad
Fri Dec 06, 2019 4:06 pm
Forum: PowerShell Studio
Topic: Unhandled Exception
Replies: 4
Views: 1856

Re: Unhandled Exception

Have you tried using breakpoints in the code to debug the form? Running the debug will identify which line is causing the issue in the form. At the same time, you mention you run the code (without the GUI) and runs in PowerShell. In most cases, the code will change a bit when running it on a Windows...
by mxtrinidad
Wed Dec 04, 2019 3:38 pm
Forum: PowerShell Studio
Topic: Unhandled Exception
Replies: 4
Views: 1856

Re: Unhandled Exception

It will help if you can provide a sample script that's causing the issue.
by mxtrinidad
Wed Dec 04, 2019 9:43 am
Forum: PowerShell GUIs
Topic: Can't add new form
Replies: 4
Views: 549

Re: Can't add new form

It should look like this:

$buttonShowForm_Click={
#TODO: Place custom script here: TestUserDatagridForm01.psf
if ((Show-TestUserDatagridForm01_psf) -eq 'OK') {

}
}
by mxtrinidad
Wed Dec 04, 2019 9:42 am
Forum: PowerShell GUIs
Topic: Can't add new form
Replies: 4
Views: 549

Re: Can't add new form

Can you please provide the code block you are using in the button control to open the "Show-CoreForm_psf" form?
by mxtrinidad
Mon Nov 25, 2019 8:41 am
Forum: PowerShell Studio
Topic: Problems with Microsoft Az Modules
Replies: 7
Views: 2561

Re: Problems with Microsoft Az Modules

Seems to work fine in PowerShell Studio! Az_01_2019-11-25_10-14-25.png Az_02_2019-11-25_10-17-25.png Try using the Cache Editor! Look for the Az module(s), and make sure the correct version of the module in question is selected, Then, do the build cache and verify that the version has been updated.
by mxtrinidad
Mon Nov 25, 2019 6:28 am
Forum: PowerShell GUIs
Topic: GUI / Project run as Administrator
Replies: 2
Views: 451

Re: GUI / Project run as Administrator

Can you provide more detailed information on what you want to accomplish?
by mxtrinidad
Mon Nov 25, 2019 6:25 am
Forum: PowerShell Studio
Topic: Script packager left menu no option to show after hide the menu!
Replies: 3
Views: 1641

Re: Script packager left menu no option to show after hide the menu!

Thanks for reporting this issue. Our team will have it corrected for our next service release.
by mxtrinidad
Fri Nov 22, 2019 7:08 am
Forum: PowerShell Studio
Topic: Problems with Microsoft Az Modules
Replies: 7
Views: 2561

Re: Problems with Microsoft Az Modules

In the previous post, there's a note on Az module "minimum requirement", which is Windows PowerShell v5.1.
So, this means that Windows PowerShell v2.0 is not supported.

Only Windows PowerShell v5.1 and greater (PowerShell Core -> PowerShell v7) are supported.
by mxtrinidad
Thu Nov 21, 2019 9:22 am
Forum: PowerShell Studio
Topic: Problems with Microsoft Az Modules
Replies: 7
Views: 2561

Re: Problems with Microsoft Az Modules

The latest version of Az module is: Az 3.0.0 Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with WindowsPowerShell and PowerShell Core. Minimum PowerShell version: 5.1 (not Windows PowerShell v2). For more information check the Az module link on the Powe...