Archive for the 'Tutorial' Category

Video: How to create a PowerGUI Script Editor Add-On

Want to add a cool new feature to your PowerShell IDE? Or perhaps take part in the PowerGUI Scripting contest?

Here’s a quick yet comprehensive tutorial which Kirk has created to get you started:

Check it out and turn PowerGUI into the tool of your dream!

Creating your first PowerGUI Script Editor Add-On

We’ve published a step by step tutorial on creating add-ons for PowerGUI Script Editor. It takes you from the obligatory ‘Hello World’ example (I am sure you have always wanted PowerGUI Editor to show this at start-up! :)) all the way through creating a useful add-on (actually the Clear Console add-on we have) with menu item, proper clean up code, and so on.

We also made available full add-on SDK which documents all the APIs we expose.

These are more powerful than ISE extensibility points. Giving you the ability to redefine (or intercept and ammend) any standard functionality in PowerGUI Script Editor, add your own menu and toolbar items (anywhere), event-handlers, and even custom dockable panes within the editor. With the SDK we provide, the sky is really the limit.

PowerGUI Script Editor is one of the richest PowerShell IDEs out there and add-ons take it to the next level. We already have some really useful add-ons – and hopefully the tutorial and SDK can help you add whatever functionality you were missing.

Give them a try and let us know what you think!

Introduction to PowerShell v2

Check out this video to learn how to start using the most important new features of PowerShell 2.0 including background jobs, modules, advanced functions, and function help (HQ and full screen recommended):

Great job by Kirk Munro! I know I will be now using these features a lot more.

Tags: , , , , , ,

Video: Create PowerGUI distribution point

Suppose you have already customized the PowerGUI admin console for specific delegated admin role in your organization (e.g. AD helpdesk), rebranded and locked-down the console, the final step you probably want to have is actually pushing this customized tool to all helpdesk people in your company.

Fear not, PowerGUI 1.7 makes this very easy. Here’s the wiki page explaining centralized PowerGUI console distribution, and below is a video quick tip which Darin shot on this exact topic:

Tags: , , ,

Video: Rebranding PowerGUI

Just noticed another Darin’s “Quick Tip” – this time on changing PowerGUI console’s welcome page:

This functionality comes handy if are in artistic mood or creating a custom console for other administrators in your office.

See also my previous blog posts on changing the PowerGUI welcome screen to a custom page and on resetting it to default.

YouTube has a bunch of other PowerGUI quick tips by Darin as well.

Tags: , , ,

Add user search to PowerGUI

Here’s a PowerShell tip I wanted to share for quite some time: making PowerGUI search for a user for you rather than displaying all users in the grid and then making you scroll down to find the account you need (for example in a helpdesk scenario when you need to unlock an account or reset password for someone calling you):

A node in the PowerGUI tree prompting you for a user name, email address, or some other identifier

A node in the PowerGUI tree prompting you for a user name, email address, or some other identifier

Once you type something about the user (name, partial name as in the screenshot above, email address, office location, SID, GUID, login name) you get the account (or list of accounts) which the search would return.

Here’s how you add a node like that:

  1. In PowerGUI, right-click the place in the left-hand tree where you want to place the functionality,
  2. On the shortcut menu, select New / Script Node.
  3. Supply the name and code for the node:
Adding the Find node

Adding the Find node

Here’s the code which I use:

# Locate a user account
$user = Read-Host "Who do you want to find today?"
Get-QADUser $user

Now you (or your helpdesk) will be able to find the objects they need much faster!

Tags: , , , , , ,

How to create a PowerPack?

Kirk “Poshoholic” Munro has just posted a flash tutorial on creating PowerPacks (extending PowerGUI and sharing the extensions with others). He starts with basics and goes into more advanced stuff (script nodes/links/actions/dynamic trees).

Kirk has created a lot of the PowerPacks shipped with PowerGUI and shared in the library so his tips and tricks are definitely worth watching!

Check it out here!

Tags: , , , ,

More AD cmdlets and PowerGUI tutorials

Here’s another new blog/site to check out: http://pshell.info.

It is nicely categorized and has a bunch of tutorials/overviews of various PowerShell tools and techniques (such as using PowerShell to manage SharePoint).

Here are the ones which I obviously noticed first and liked best 😉

Exchange 2007 PowerGUI Tutorials

Henrik Walther has just published his part 2 on managing Exchange 2007 with PowerGUI at MSExchange.org:

In part 2 he goes through managing public folders, setting permissions, provisioning mailboxes from csv files, reporting, as well as extending the tool.

(Too bad these were written before we extended the pack to cover all the functionality missing in the native Exchange Management Console.)

Henrik’s posts are good step-by-step tutorials with lots of screenshots and easy to follow. Highly recommended!

Tags: , , , , ,


My Recent Tweets

Legal

The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer - WSO2 or anyone else for that matter. All trademarks acknowledged.

© 2007-2014 Dmitry Sotnikov

September 2022
M T W T F S S
 1234
567891011
12131415161718
19202122232425
2627282930  

%d bloggers like this: