This is the latest installment in our video series on working with Azure cmdlets in background jobs. In this example we are executing the PowerShell script in a Windows GUI Application. View the video here: SAPIEN PowerShell Studio: GUI Working with Azure Cmdlets In Background Jobs Minor Sample Script Changes As the sample script evolves to […]
Category: GUIProgramming
PowerShell Studio: How to prevent Powershell cmdlets from hanging in GUI apps
We have seen issues reported in our support forum where Azure commands are not terminating, or more likely their cmdlets are not returning in a GUI environment. This is due to the Powershell pipeline being held up by the GUI, which could prevent Powershell from processing internal messages and events thus causing a hang when a […]
SAPIEN Technologies at the Orlando .NET User Group
I had the pleasure of speaking with the Orlando .NET User Group on May 11. It was a well attended event with over 20 attendees and a few sponsors. The presentation I gave provided a comparison of the differences between Windows PowerShell and PowerShell Core. I also showcased the creation of hybrid scripts that can tackle […]
PowerShell Studio: Working with Windows Form Control Event Handlers
PowerShell Studio has a selection of Windows Form templates that you can use to speed up your development. You will most likely be using your own code snippets to add behind the form controls, as well as the snippets available in PowerShell Studio, and perhaps snippets from someone else. This is fine until you start […]
Designing GUIs for High DPI Displays
I posted a new article on how to design a GUI for high DPI displays on our SAPIEN Information Center: Designing GUIs for High DPI Displays In this article, I will cover techniques on how to make your PowerShell GUI compatible with high DPI (Dots per inch) displays. The article will also cover a […]
How Do Multi-Form Projects Work?
Applies to: PowerShell Studio 2016, Windows PowerShell 3.0+ I recently wrote an article with step-by-step instructions for creating a very simple multi-form PowerShell GUI application. In our sample app, we use PowerShell Studio features that make it very easy to open a child form from the main form and gets the text in the textbox […]
Write a Multi-Form PowerShell GUI App
Tested on: PowerShell 2.0+, PowerShell Studio 2016 This step-by-step example shows you how to create a very simple multi-form PowerShell GUI app. The app consists of a parent form that gets data from a child form and displays it. When you finish, you’ll know how to use the basic multi-form features of PowerShell Studio. For […]
Property Pane: Change property values of multiple objects
Sometimes, I say things so many times that I start to believe them, even when I’m wrong. Here’s a correction of one of the details that I’ve gotten wrong repeatedly. “You can only use the Properties pane on one object at time.” — me Um, no. The Properties pane in PowerShell Studio displays the properties […]
My First Form: New Videos for PowerShell GUI Beginners
Like most things, once you know the basics, it’s really easy to build GUI applications with Windows PowerShell and PowerShell Studio. And, like most things, it’s hard to learn the basics. We’re here to help. We just posted a two-part series of videos. You can watch them in any order. My First Form: Build a Simple […]
PowerShell GUI Apps: Why think in events?
Always committed to starting the New Year right, I’m heading to Scottsdale, Arizona on Tuesday, January 5 at 5:30 PM to meet with the newly revived Arizona PowerShell User Group. We’ll meet at the Microsoft Store in Scottsdale Fashion Square. (I will not be distracted by the Surface Pro 4 on display. I will not…) […]