Powershell GUI fronted (WPF) to run categorized console scripts

βŒˆβŒ‹ βŽ‡ branch:  ClickyColoury


Update of "toolbar"

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 2a70bdee57b65c6cd5d0d455462811d01fc9139d
Page Name:toolbar
Date: 2017-09-24 06:37:33
Original User: mario
Mimetype:text/x-markdown
Parent: 44f245bbcb937a7b67a55f0dd7a950e485170e1a (diff)
Next 305834c614ff72bfc6ebe549fff6b83187f7b61a
Content

The Ribbon-style toolbar provides a few gimmicks:

Hostname

Copy a hstname in the clipboard, then click the laptop icon. This instantly pings the machine and colorizes the field.

  • The dropdown lists the last used computer names.
  • Additionally a small copy icon is there.
  • It also provides a little lookup-username-for-computer shortcut.

Username

Again you could copy/type the username in. But the big user icon allows that too, with some shortcuts:

  • If "Last, First" is in the clipboard, an AD lookup is performed.
  • Same for "user@example.com"

Now this depends on how the displaynames are structured, of course. But works often enough.

Additionally the dropdown is a search function for the user field.

  • Entering the last 4 digits of a phone number is often super convenient to look someone up.
  • Parts of the username also work.

The search however may freeze the GUI shortly, as it runs in the WPF runspace as well. It also uses the ADSISearcher rather than Get-ADUser by default.

Shortcuts

Script shortcuts can be enabled with #shortcut: 1 in each script.

Clipboard

Since the TextBlock is not selectable, a whole-copy function is there. Additionally now a HTML function.

Output box clearing + undo are also an option, but can better be set using $cfg.autoclear with a lower default.

Unicode

Well, that's a gimmick. Mainly there since WindowsΒ΄ chartable sucks big time.