Search found 399 matches

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

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 3:06 pm
Forum: PowerShell Studio
Topic: Unhandled Exception
Replies: 4
Views: 3126

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 2:38 pm
Forum: PowerShell Studio
Topic: Unhandled Exception
Replies: 4
Views: 3126

Re: Unhandled Exception

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

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 8:42 am
Forum: PowerShell GUIs
Topic: Can't add new form
Replies: 4
Views: 1939

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 7:41 am
Forum: PowerShell Studio
Topic: Problems with Microsoft Az Modules
Replies: 7
Views: 4588

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 5:28 am
Forum: PowerShell GUIs
Topic: GUI / Project run as Administrator
Replies: 2
Views: 1286

Re: GUI / Project run as Administrator

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

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 6:08 am
Forum: PowerShell Studio
Topic: Problems with Microsoft Az Modules
Replies: 7
Views: 4588

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 8:22 am
Forum: PowerShell Studio
Topic: Problems with Microsoft Az Modules
Replies: 7
Views: 4588

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...