Archive for the 'Blogosphere' Category

The best of both worlds

GUI or command-line? Alan Renouf (aka Virtu-Al) reflects on this dilemma in this fascinating blog post.

He looks at the advantages of GUI (intuitive, familiar, easy to learn) and command-line/scripting (powerful, flexible, well-suited for bulk operations), and how he is using PowerGUI (or, as a lot of virtulization folks know it – VESI) to get the best of both worlds:

Alan created a very popular VMware Community PowerPack (which had more than 8 thousand downloads already!) and is a very successful virtualization consultant so his views (and tools ;)) are always worth checking out.

Read Alan’s post here.

Adding Direct Reports action

Here’s my quick addition to Kamran’s “How to export data from Active Directory using the free PowerGUI tool“:

If you might need to find users managed by someone more than once, there are a couple of ways you can make this simpler for your self:

A. Download and install free Org Chart powerpack, or

B. Follow these instructions to add a Direct Reports button to PowerGUI admin console:

1. Start PowerGUI admin console and browse to Active Directory / Users.

2. In the right-hand pane, right-click the category to which you want to add the action and pick New / Script Action from the shortcut menu.

new-script-action

3. In the New Action dialog box, type in the action name (e.g. Direct Reports), and script:

$input | ForEach-Object {
    Get-QADUser -Manager $_
}

(The script is quite trivial: for each user account currently selected in the PowerGUI grid, we get the list of AD users which have this object specified as Manager).

direct-reports

3. On that same dialog box, click the Display Configuration button, and then in the Display results group, select the Display the results in a nested view option.

This tells PowerGUI that your action outputs objects to the grid (which it does – we need to see the reports selected user has!)

nested-view

4. That’s it! Click OK on both dialog boxes, select the user account whose reports you need to see, and click your newly added Direct Reports action.

Big thanks to Kamran for posting his original tip and video.

Tags: , , , , , ,

Opening up PowerGUI.org

PowerGUI_BlogrollWe have made a change in the blog post webpart at our community site – PowerGUI.org: now it can provide links to blogs more than one blog. Specifically, it now features posts by myself, Kirk Munro, and Shay Levy.

For historical reasons, up to now the webpart only had posts from my blog. Which was obviously a really selfish and outdated thing to have. Shay and Kirk are these days more active on the site forums than I am, and their blogs are well worth following.

Hopefully, this makes staying in touch with the PowerGUI community even easier.

By now means this is limited to just three blogs. If you are active at PowerGUI.org and blog at least once or twice a week about PowerGUI or QAD cmdlets – please contact me and I will happily add your feed in there.

Tags: , , ,

Interactive PowerGUI Blog Badges

This is part two of the PowerGUI.org blog badges instructions. In part one we learned how to add a PowerGUI graphics widget.

Today I will show how to add a widget dynamically showing your latest threads or messages at our PowerShell discussion forums.

As you can see I have one in the right-hand column of this blog and it looks like:

Thread_Widget

To add such a widget in wordpress, go to Dashboard/Appearance/Widgets, add an RSS gadget and paste the following RSS feed link (make sure you change my name to your PowerGUI.org name and replace space with %20):

http://www.powergui.org/rss/rssmessages.jspa?categoryID=55&RssUsername=Dmitry%20Sotnikov

For wordpress, the widget will then look like:

RSS_Widget

Type something like “My recent posts at PowerGUI.org” to the feed title, and select the number of items to show.

Then save the changes and you are good to go!

If you want the widget to display recent threads(rather than posts) use this RSS feed instead:

http://www.powergui.org/rss/rssthreads.jspa?categoryID=55

That’s it. If you want to add graphics – see my previous post.

If you are on platforms other than wordpress or have other ideas of PowerGUI widgets – please post them on your blog and add the link in your comments to this post. Please help us spread the news of PowerShell, PowerGUI and PowerGUI.org to a wider community!

Tags: , , , , ,

PowerGUI Blog Badges

The easiest way to promote your favorite PowerShell tool on your blog or website is add one of our PowerGUI.org badges to it. You can borrow the images which Susan posted here or copy/paste the html code from below:

My examples below are for wordpress – this is the platform which I am using and for which I tested these. (Please post your instructions for other platforms.)

Static Images

To add these, add Text widget in your wordpress Dashboard/Appearance/Widgets and paste the corresponding html code:

For PowerShell, I love PowerGUI

<p>
<a href="http://powergui.org" title="For PowerShell, I love PowerGUI">
<img src="http://powergui.org/servlet/JiveServlet/download/118-9270-29383-3688/bn1-powergui-200x75.gif" alt="For PowerShell, I love PowerGUI" height="75" width="200" />
</a>
</p>

My PowerShell IDE is PowerGUI

<p>
<a href="http://powergui.org" title="My PowerShell IDE is PowerGUI">
<img src="http://powergui.org/servlet/JiveServlet/download/118-9270-29383-3689/bn2-powergui-200x100.gif" alt="My PowerShell IDE is PowerGUI" height="100" width="200" />
</a>
</p>

My PowerShell community is PowerGUI.org

<p>
<a href="http://powergui.org" title="My PowerShell community is PowerGUI.org">
<img src="http://powergui.org/servlet/JiveServlet/download/118-9270-29384-3690/bn1-powergui-200x100.gif" alt="My PowerShell community is PowerGUI.org" height="100" width="200" />
</a>
</p>

My PowerShell community is PowerGUI.org

<p>
<a href="http://powergui.org" title="My PowerShell community is PowerGUI.org">
<img src="http://powergui.org/servlet/JiveServlet/download/118-9270-29384-3691/bn2-powergui-200x75.gif" alt="My PowerShell community is PowerGUI.org" height="75" width="200" />
</a>
</p>

My PowerShell community is PowerGUI.org

<p>
<a href="http://powergui.org" title="My PowerShell community is PowerGUI.org">
<img src="http://powergui.org/servlet/JiveServlet/download/118-9270-29388-3695/bn5-powergui-200x75.gif" alt="My PowerShell community is PowerGUI.org" height="75" width="200" />
</a>
</p>

My PowerShell community is PowerGUI.org

<p>
<a href="http://powergui.org" title="My PowerShell community is PowerGUI.org">
<img src="http://powergui.org/servlet/JiveServlet/download/118-9270-29388-3694/bn3-powergui-200x75.gif" alt="My PowerShell community is PowerGUI.org" height="75" width="200" />
</a>
</p>

My PowerShell community is PowerGUI.org

<p>
<a href="http://powergui.org" title="My PowerShell community is PowerGUI.org">
<img src="http://powergui.org/servlet/JiveServlet/download/118-9270-29391-3697/bn4-powergui-200x75.gif" alt="My PowerShell community is PowerGUI.org" height="75" width="200" />
</a>
</p>

Instead of PowerGUI.org you can obviously link to a specific forum or even your profile page at PowerGUI.org – just click your username next to your post there to get link to that page. You profile contains whatever information you supplied and links to your latest messages.

Tomorrow I will show how you can create interactive widgets automatically showing your latest messages or threads in our forums.

If you are on platforms other than wordpress or have other ideas of PowerGUI widgets – please post them on your blog and add the link in your comments to this post. Please help us spread the news of PowerShell, PowerGUI and PowerGUI.org to a wider community!

Tags: , , , , ,

New VMware PowerShell Blog

Scott HeroldScott Herold has just started blogging.

Scott is one of key guys at Vizioncore and the guy behind some of the most widely used tools in the VMware space. He has recently become converted to PowerShell through his use of VI Toolkit and PowerGUI, and was even helping Kirk with the VMware PowerPack.

It is very cool to see people coming to PowerShell from their specific platform areas, and I highly recommend checking out Scott’s blog if you are managing VMware infrastructure. I myself will go and subscribe once I click Publish for this blog post. 🙂

You can find Scott’s blog here.

Tags: , , , ,

OCS blog by Curtis

Curtis Johnstone – the author of the best OCS Management Console (which coincidentally is a PowerPack ;)) has just started blogging!

His blog already has posts on the DNS records Office Communicator uses for automated sign-in, the ports OCS requires you to open on your firewalls, and on the latest updates to his OCS PowerPack.

If you are working with Office Communications Server, this is one of those blogs you need to watch! I obviously hope that it will also have as much of the related PowerShell content as Curtis can fit in. 🙂 You can find the blog here.

Tags: , , , ,

PowerShell blogs in Russian

Local Microsoft and PowerShell fans at Platforma 2008 talked me into setting up a separate blog on PowerShell in Russian. So if you are a Russian-speaker – you’ve got another source of information available. From now on all Russia-related blog entries will go there.

Other two PowerShell blogs in Russian you might want to check out are the ones by:

Tags: , ,

MCS Ireland using PowerGUI

Looks like Microsoft Consulting Services in Ireland started using PowerGUI for Exchange 2007 management. Check this out: Exchange 2007 Powershell Answer –The PowerGUI

Tags: , , , ,

Creating test AD users (improved)

One of the kicks of PowerShell is taking someone else’s script and making it even shorter. 😉 This was exactly my first thought when I found this test AD user creation script by Austin (found via Bob).

Austin’s script is perfectly fine but you can make it shorter by getting rid of csv step and enabling the accounts on the fly.

So here’s how I would create 500 test user accounts:

1..500 | ForEach-Object {
New-QADUser -ParentContainer ps64.local/test -Name "testuser$_" -SamAccountName "testuser$_" -UserPrincipalName "testuser$_@example.com" -FirstName "testUser$_" -LastName "example$_" -UserPassword "password_123" | Enable-QADUser
}

I think this is pretty self-describing. I am using the 1..500 cycle to get a collection of these 500 numbers, and then put them inside the string parameters (make sure you use double quotes!) in the ForEach-Object cycle. Finally the objects are passed to Enable-QADUser so the accounts get enabled.

Pretty cool, eh?

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

June 2021
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
282930  

%d bloggers like this: