Script Links
From PowerGUI Wiki
Adding script links
To implement a link
1. In the Links pane, select Add new item | Script Link.
2. Enter the input collection code ($input) to populate the objects.
For example:
# Increment objects
$input | foreach { $_ + 1 }
Changing the labels in the path control
The path displayed above the objects reflects the selected links. To customize the labels to make the information more useful, add the following to your scripted link code:
[quest.powergui.hostfactory]::Current.Application.Action.Links.LinkLabel = "My custom label";
