PSGUI v0.5 new Editor! Colors! and more!

Hey together,

i have very nice news for you!
I managed to exchange the integrated Text-editor of PSGUI with AvalonEdit.

Take a look at this fantastic new features:

PSGUI-Manager.jpg

  • CodeStyling
  • LineNumbers
  • Searching (Ctrl+F)
  • Better Jumping to the EventHandlers
  • Wrapping
  • Unlimited Undo and Redo
  • and more

Also i did lots of BugFixes, added some Examples and some new little functions – like the Button “Open in ISE”, which opens all 3 DialogFiles in the Powershell_ISE or the “Open”-Button for the Dialog-Folders and also some improvements in the dialogs for “New-Dialog” and “Rename-Dialog”.

A imporant hint here – to create new Dialogs or rename Dialogs you have to start the PSGUI-Manager with Admin-Rights. For example – out of a ISE / Powershell console, which has been opened with Admin rights. I will address this topic later on.

I personally think, that this was one of the most valuable changes in the last time. But keep tuned – lots of functions are still planned, before we get to version 1.0.

Things like:

  • Export/Import Dialogs
  • Creating GUI-Packages
  • more Assistance for GUI-Creators
  • more Examples to show more complicated stuff
  • and probably – Intellisense – but lets see

 

And last but not least:

Installation is now as easy as any possible – with PowershellGallery – described here.

 

Best regards,

David

PSGUI v0.2 – Next Round – Powershell vs. XAML – Fight!

PSGUI_v0.2.JPG

Hi together,

today i have pretty good news for you!

Long time ago i started the project PSGUI, but i had not much time and power to create a stable version, because i had been working and training hard for Microsoft in the last months.

But – luckily i had again some time to get progress in this nice project and here is the next version!

Download:
https://github.com/ddneves/PSGUI

HOWTO:

  • Download as Zip
  • Unblock in NTFS Properties
  • install.bat
  • Link on Desktop [or] Link in folder [or] Powershell.exe – Start-PSGUIManager
  • have fun – till now

 

But what was actually PSGUI about? Below a short summary – detailed instructions will follow.


Continue reading

PSConfEU – Interviews – Material

Hi all,

some time passed since my last update, but now i am arriving with a whole bunch of demo scripts for everyone.

I have been at the PSConfEU and had two speaking slots there:

  • PS-Repo Server
  • Deep Dive XAML-GUIs in PS

My good friend Sebstian Klenk, Technical Evangelist Microsoft, did two interviews in german with me and summed everything up in his blog.

There you can get also the material of my sessions and more – i recommend the demo Scripts of the GUI Session-  but keep in mind that not all of the examples were written by me but i personally did not want to keep them out.

Interview/Blog: PS-Repo-Server

Material – PS-Repo-Server

Interview/Blog: Deep Dive XAML-GUIs in PS

Material Deep Dive XAML-GUIs in PS

Greetings,

David

PSGUI – Powershell – RaiseEvent

Hello together

if you want to raise an event by your powershell code use the following command:

$GUI_Manager_rCodeBehind.RaiseEvent((New-Object -TypeName System.Windows.RoutedEventArgs -ArgumentList $([System.Windows.Controls.Button]::ClickEvent)))

The variable (here: $GUI_Manager_rCodeBehind) is the object from which you want to raise the event. In the parameters you have to insert your event in the ArgumentList. This example is for a ButtonClick event – [System.Windows.Controls.Button]::ClickEvent).

May be you will need it at some point.

Greetings,

David

Easy creating Powershell GUI with XAML? PSGUI!

Hello together,

3 months ago i started a project to create user interfaces for Powershell with WPF as simple as possible for everyone by using a  – POWERSHELL GUI.

Powershell GUI with Powershell GUI?! – sounds paradox – but hey – one example will be ready the whole time. 😀

Many times there had been administrators, customers and friends who asked for a GUI in PS. Probably the loudest group crying had been the administrators who normally should work easily with Powershell. But IT-guys are lazy – and because of these laziness we create powerfull scripts which make life easier. And if a wonderfull looking GUI is on top of this functionality – even better!

Though you should never forget – by adding a GUI to a module / function of yours you can prevent lots of input errors by the user. The user gets happy because he can click and sees a wonderful design and you can add an additional abstraction layer preventing lots of headaches.


Aims

The primary aims with this project had been:

  • everyone can do it
  • structured and separated code by logic
  • easy to create and deploy dialogs
  • easy to manage multiple dialogs
  • free code to use for everyone
  • examples for small and easy but also further on more complex solutions
  • preconfigured examples for some use-cases
  • as many internal functions to avoid manual work
  • no dependencies to proprietary programs
PSGUI v0.1

PSGUI v0.1

Interested? then take a look into!

Continue reading