Short posts about Microsoft PowerShell as I learn, trying to focus on one aspect at a time.
Tuesday, November 4, 2008
Windows Forms with PowerShell
SAPIEN came out with an awesome form builder for PowerShell called PrimalForms. I decided to give it a whirl. It really makes short work of making a native Windows GUI. For my first project I made a quick and dirty app that allows me to get disk fragmentation data for a remote server using the DefragAnalysis method of Win32_Volume. I used the PrimalForms GUI to create my form, and then I only had to fill in the button1 click handler and the form load handler, add a small function for printing to the text box, and voila!
Labels:
Defragment,
Forms,
PrimalForms,
SAPIEN,
Scripts,
Win32_Volume,
Windows Forms,
WMI
Subscribe to:
Post Comments (Atom)
1 comment:
This blog is unique from all others. Thanks for sharing this content in an excellent way. Waiting for more updates.
Spoken English Classes in Chennai
Spoken English Class in Chennai
Spoken English in Chennai
IELTS Training in Chennai
IELTS Chennai
Best English Speaking Classes in Mumbai
Spoken English Classes in Mumbai
IELTS Mumbai
IELTS Coaching in Anna Nagar
Spoken English Class in T Nagar
Post a Comment